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