Class BaseTrigger
Base trigger.
Inheritance
System.Object
BaseTrigger
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Inherited Members
Namespace: ISynergy.Framework.Automations.Triggers.Base
Assembly: ISynergy.Framework.Automations.dll
Syntax
public abstract class BaseTrigger : AutomationModel, IObservableClass, IBindable, ITrigger
Constructors
View SourceBaseTrigger(Guid)
Default constructor.
Declaration
protected BaseTrigger(Guid automationId)
Parameters
Type | Name | Description |
---|---|---|
Guid | automationId |
Properties
View SourceFor
You can use For to have the trigger only fire if the state holds for some time.
Declaration
public TimeSpan For { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
TriggerId
Gets or sets the TriggerId property value.
Declaration
public Guid TriggerId { get; }
Property Value
Type | Description |
---|---|
Guid |
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo