Class BaseNumericTrigger<T>
Base generic numeric trigger.
Inheritance
System.Object
BaseNumericTrigger<T>
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Inherited Members
Namespace: ISynergy.Framework.Automations.Triggers.Base
Assembly: ISynergy.Framework.Automations.dll
Syntax
public abstract class BaseNumericTrigger<T> : BaseTrigger, IObservableClass, IBindable, ITrigger where T : struct
Type Parameters
Name | Description |
---|---|
T |
Constructors
View SourceBaseNumericTrigger(Guid, T, T, TimeSpan)
Default constructor.
Declaration
protected BaseNumericTrigger(Guid automationId, T below, T above, TimeSpan for)
Parameters
Type | Name | Description |
---|---|---|
Guid | automationId | |
T | below | |
T | above | |
TimeSpan | for |
BaseNumericTrigger(Guid, Func<(IObservableClass Entity, IProperty<T> Property)>, T, T, Func<T, Task>)
Trigger for T type properties.
Declaration
protected BaseNumericTrigger(Guid automationId, Func<(IObservableClass Entity, IProperty<T> Property)> function, T below, T above, Func<T, Task> callbackAsync)
Parameters
Type | Name | Description |
---|---|---|
Guid | automationId | |
Func<System.ValueTuple<IObservableClass, IProperty<T>>> | function | |
T | below | |
T | above | |
Func<T, Task> | callbackAsync |
Properties
View SourceAbove
Gets or sets the Above property value.
Declaration
public T Above { get; set; }
Property Value
Type | Description |
---|---|
T |
Below
Gets or sets the Below property value.
Declaration
public T Below { get; set; }
Property Value
Type | Description |
---|---|
T |
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo