Generated by DocFX

Class EventState

Default constructor.

Inheritance
System.Object
ObservableClass
EventState
Implements
IObservableClass
IBindable
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
IState
Inherited Members
ObservableClass.AutomaticValidationTrigger
ObservableClass.Properties
ObservableClass.Validator
ObservableClass.IsDirty
ObservableClass.IsValid
ObservableClass.Equals(Object)
ObservableClass.GetHashCode()
ObservableClass.GetValue<T>(String)
ObservableClass.SetValue<T>(T, String)
ObservableClass.SetValue<T>(T, T, String)
ObservableClass.ClearErrors()
ObservableClass.Validate(Boolean)
ObservableClass.Revert()
ObservableClass.MarkAsClean()
ObservableClass.AddValidationError(String, String)
ObservableClass.Errors
ObservableClass.Error
ObservableClass.Item[String]
ObservableClass.ErrorsChanged
ObservableClass.OnErrorsChanged(String)
ObservableClass.GetErrors(String)
ObservableClass.HasErrors
ObservableClass.PropertyChanged
ObservableClass.OnPropertyChanged(String)
ObservableClass.Dispose()
ObservableClass.Dispose(Boolean)
Namespace: ISynergy.Framework.Automations.States
Assembly: ISynergy.Framework.Automations.dll
Syntax
public class EventState : ObservableClass, IObservableClass, IBindable, IState

Constructors

View Source

EventState(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 Source

Event

Gets or sets the Event property value.

Declaration
public EventInfo Event { get; set; }
Property Value
Type Description
EventInfo
View Source

EventData

Gets or sets the EventData property value.

Declaration
public object EventData { get; set; }
Property Value
Type Description
System.Object
View Source

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
View Source

StateId

Gets or sets the StateId property value.

Declaration
public Guid StateId { get; }
Property Value
Type Description
Guid

Implements

IObservableClass
IBindable
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
IState

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)