UploadDaemon Class

Namespace:
Weavy.Core.Plugins
Assembly:
Weavy.Core.dll

A daemon that persists uploaded files to blob storage. Also generates thumbnails and extracts text for indexing.

[Guid("6AFB31C8-1624-49FD-80D3-0F16E46590AD")]
[Daemon(Icon = "upload", Name = "Upload files", Description = "Persists uploaded files to blob storage, generates thumbnails and extracts text for indexing.", Schedule = "* * * * *")]
public class UploadDaemon : Daemon, IDaemon, IFunction, IPlugin, IExtension, IExpando, IDynamicMetaObjectProvider, IEnumerable<KeyValuePair<string, object>>, IEnumerable, ICloneable, IValidatableObject
Inheritance:
System.Object → ExpandoPluginFunctionDaemonUploadDaemon
Attributes:
System.Runtime.InteropServices.GuidAttribute, DaemonAttribute
Implements:
IDaemon, IFunction, IPlugin, IExtension, IExpando

Constructors

UploadDaemon(IBlobProvider)

Properties

ExtractText Gets or sets a value indicating whether to extract text from uploaded files.
Thumbnails Gets or sets a value indicating whether to create thumbnails for uploaded files.

Methods

Run(CancellationToken, String[]) Upload pending blobs.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.