Class BaseTrigger<T>
Base trigger.
Inheritance
System.Object
BaseTrigger<T>
Inherited Members
Namespace: ISynergy.Framework.Automations.Triggers.Base
Assembly: ISynergy.Framework.Automations.dll
Syntax
public abstract class BaseTrigger<T> : BaseTrigger, IObservableClass, IBindable, ITrigger<T>, ITrigger
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
View SourceBaseTrigger(Guid, Func<(IObservableClass Entity, IProperty<T> Property)>, T, T, Func<T, Task>, TimeSpan)
Default constructor.
Declaration
protected BaseTrigger(Guid automationId, Func<(IObservableClass Entity, IProperty<T> Property)> function, T from, T to, Func<T, Task> callbackAsync, TimeSpan for)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | automationId | |
| Func<System.ValueTuple<IObservableClass, IProperty<T>>> | function | |
| T | from | |
| T | to | |
| Func<T, Task> | callbackAsync | |
| TimeSpan | for |
Properties
View SourceFrom
Gets or sets the From property value.
Declaration
public T From { get; set; }
Property Value
| Type | Description |
|---|---|
| T |
To
Gets or sets the To property value.
Declaration
public T To { get; set; }
Property Value
| Type | Description |
|---|---|
| T |
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo