Class EventState
Default constructor.
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Inherited Members
Namespace: ISynergy.Framework.Automations.States
Assembly: ISynergy.Framework.Automations.dll
Syntax
public class EventState : ObservableClass, IObservableClass, IBindable, IState
Constructors
View SourceEventState(EventInfo, Object, TimeSpan)
Default constructor.
Declaration
public EventState(EventInfo event, object eventData, TimeSpan for)
Parameters
Type | Name | Description |
---|---|---|
EventInfo | event | |
System.Object | eventData | |
TimeSpan | for |
Properties
View SourceEvent
Gets or sets the Event property value.
Declaration
public EventInfo Event { get; set; }
Property Value
Type | Description |
---|---|
EventInfo |
EventData
Gets or sets the EventData property value.
Declaration
public object EventData { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
For
You can use For to have the trigger only fire if the state holds for some time.
Declaration
public TimeSpan For { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
StateId
Gets or sets the StateId property value.
Declaration
public Guid StateId { get; }
Property Value
Type | Description |
---|---|
Guid |
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo