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<KeyValuePair<string, object>>, 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, 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.