Class AuraTriggerBase<TAuraProperties>
Implements
Inherited Members
Namespace: EyeAuras.Shared.Triggers
Assembly: EyeAuras.Shared.dll
Syntax
public abstract class AuraTriggerBase<TAuraProperties> : AuraObjectBase<TAuraProperties>, IAuraObject<TAuraProperties>, IAuraTrigger, IAuraEntity, IAuraObject, IBindableReactiveObject, IHasId, IHasTypedId<string>, ICanSetContext, IHasContext, IHasErrors, IHasError, IHasErrorProvider, ICanSetName, IHasName, ICanSetDescription, IHasDescription, IEnablementController, IDisposable, INotifyPropertyChanged where TAuraProperties : class, IAuraTriggerProperties, new()
Type Parameters
| Name | Description |
|---|---|
| TAuraProperties |
Constructors
| Name | Description |
|---|---|
| AuraTriggerBase() | |
| AuraTriggerBase(IScheduler) |
Properties
| Name | Description |
|---|---|
| ActivationProgress | Gets the progress towards activation, represented as a percentage. |
| ActivationTimeout | Gets or sets the time duration that the internal trigger value must be continuously active before the Trigger itself becomes active. |
| DeactivationTimeout | Gets or sets the time duration that the internal trigger value must be continuously inactive before the Trigger itself becomes inactive. |
| Description | Description of an item, could be localized |
| EnableAdvancedSettings | Gets or sets a value indicating whether advanced settings like activation/deactivation timeouts and inversion are enabled for this Trigger. |
| IsActive | Gets a value indicating the current active state of the Trigger. |
| IsActiveState | Gets a value indicating the current active state of the Trigger with optional annotation. |
| IsEnabled | Gets a value indicating whether the Trigger is enabled. |
| IsEnabledState | |
| IsIgnored | Gets or sets a value indicating whether this element is disabled by the user. |
| IsInverted | Gets or sets a value indicating whether the IsActive result should be inverted. |
| IsMinimized | Gets or sets a value indicating whether this element should be shown in minimized form in UI |
| Name | Name of an item(could be filename), usually un-localized and could be used in lookups |
| NameSuffix | Suffix which will be appended to Name |
| NextIsActive | Gets the next expected active state of the Trigger. |
| NextIsActiveState | Gets the next expected active state of the Trigger with annotation. |
| NextIsActiveTimestamp | |
| TimeLeftTillNextValue | Gets the remaining time until the Trigger's IsActive state changes to the value of NextIsActive. |
| TriggerScheduler | Scheduler which is used to propagate activity updates. It is guaranteed that each and every state update comes via that Scheduler to avoid race conditions |
Methods
| Name | Description |
|---|---|
| CreateTriggerEventSource() | |
| Disable(string) | Allows to temporarily fully disable trigger mechanism. This will basically put trigger on pause, preserving CPU resources |
| FormatToString(ToStringBuilder) | |
| GetMinIsActiveDelay() | |
| VisitLoad(TAuraProperties) | |
| VisitSave(TAuraProperties) |