LicenseDaemon Class

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

A daemon that checks various license related tasks.

[Guid("F19B7854-9ED2-4C45-A04F-20183E2D485B")]
[Daemon(Icon = "certificate", Name = "License update", Description = "Refresh license data from the license server.", Schedule = "*/15 * * * *")]
public class LicenseDaemon : Daemon, IDaemon, IValidatableObject, ICommand, IFunction, IPlugin, IExtension, IExpando, IDynamicMetaObjectProvider, IEnumerable>, IEnumerable, ICloneable
Inheritance:
System.Object → ExpandoPluginFunctionDaemonLicenseDaemon
Attributes:
System.Runtime.InteropServices.GuidAttribute, DaemonAttribute
Implements:
IDaemon, ICommand, IFunction, IPlugin, IExtension, IExpando

Constructors

LicenseDaemon()

Properties

Schedule Hard coded to run every 15 minutes.

Methods

IExpando.get_Item(String)
IExpando.set_Item(String, Object)
Run(CancellationToken, String[]) Refresh license information.

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.