Class BaseState
Base State
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Inherited Members
Namespace: ISynergy.Framework.Automations.States.Base
Assembly: ISynergy.Framework.Automations.dll
Syntax
public abstract class BaseState : ObservableClass, IObservableClass, IBindable
Constructors
View SourceBaseState(TimeSpan)
Default constructor.
Declaration
protected BaseState(TimeSpan for)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | for |
Properties
View SourceAttribute
Gets or sets the Attribute property value.
Declaration
public object Attribute { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Entity
Gets or sets the Entity property value.
Declaration
public object Entity { 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