Class EventTrigger<T>
Trigger based on an event.
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Inherited Members
Namespace: ISynergy.Framework.Automations.Triggers
Assembly: ISynergy.Framework.Automations.dll
Syntax
public class EventTrigger<T> : BaseTrigger, IObservableClass, IBindable, ITrigger
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
View SourceEventTrigger(Guid, T, Action<EventHandler>, Func<T, Task>)
Default constructor.
Declaration
public EventTrigger(Guid automationId, T entity, Action<EventHandler> subscription, Func<T, Task> callbackAsync)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | automationId | |
| T | entity | |
| Action<EventHandler> | subscription | |
| Func<T, Task> | callbackAsync |
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo