IndexDaemon Class

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

A daemon that adds entities to the fulltext index.

[Guid("C88828D5-7E1C-4F7C-9BD5-2C1EE29D9FFB")]
[Daemon(Icon = "find-replace", Name = "Index update", Description = "Updates the fulltext index with entities modified since the last indexing operation.", Schedule = "* * * * *")]
public class IndexDaemon : Daemon, IDaemon, IFunction, IPlugin, IExtension, IExpando, IDynamicMetaObjectProvider, IEnumerable>, IEnumerable, ICloneable, IValidatableObject
Inheritance:
System.Object → ExpandoPluginFunctionDaemonIndexDaemon
Attributes:
System.Runtime.InteropServices.GuidAttribute, DaemonAttribute
Implements:
IDaemon, IFunction, IPlugin, IExtension, IExpando

Constructors

IndexDaemon(IIndexProvider) Initializes a new instance of the IndexDaemon class.

Methods

Run(CancellationToken, String[]) Index entities that have changed since the last index operation.

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, Nullable, 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.