Class IntegerTrigger
Numeric trigger based on an integer.
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Inherited Members
Namespace: ISynergy.Framework.Automations.Triggers
Assembly: ISynergy.Framework.Automations.dll
Syntax
public class IntegerTrigger : BaseNumericTrigger<int>, IObservableClass, IBindable, ITrigger
Constructors
View SourceIntegerTrigger(Guid, Func<(IObservableClass Entity, IProperty<Int32> Property)>, Int32, Int32, Func<Int32, Task>)
Trigger for integer properties.
Declaration
public IntegerTrigger(Guid automationId, Func<(IObservableClass Entity, IProperty<int> Property)> function, int below, int above, Func<int, Task> callbackAsync)
Parameters
Type | Name | Description |
---|---|---|
Guid | automationId | |
Func<System.ValueTuple<IObservableClass, IProperty<System.Int32>>> | function | |
System.Int32 | below | |
System.Int32 | above | |
Func<System.Int32, Task> | callbackAsync |
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo