Class BooleanStateTrigger
State trigger based on a boolean.
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
ITrigger<System.Boolean>
Inherited Members
Namespace: ISynergy.Framework.Automations.Triggers
Assembly: ISynergy.Framework.Automations.dll
Syntax
public class BooleanStateTrigger : BaseTrigger<bool>, IObservableClass, IBindable, ITrigger<bool>, ITrigger
Constructors
View SourceBooleanStateTrigger(Guid, Func<(IObservableClass Entity, IProperty<Boolean> Property)>, Boolean, Boolean, Func<Boolean, Task>)
Default constructor.
Declaration
public BooleanStateTrigger(Guid automationId, Func<(IObservableClass Entity, IProperty<bool> Property)> function, bool from, bool to, Func<bool, Task> callbackAsync)
Parameters
Type | Name | Description |
---|---|---|
Guid | automationId | |
Func<System.ValueTuple<IObservableClass, IProperty<System.Boolean>>> | function | |
System.Boolean | from | |
System.Boolean | to | |
Func<System.Boolean, Task> | callbackAsync |
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo