Class Condition
- Namespace
- TimeCockpit.Data.DataModel
- Assembly
- TimeCockpit.Data.dll
Encapsulates information about a condition which determines if the code of a Binding is executable.
public abstract class Condition : NamedDynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged
- Inheritance
-
ObjectCondition
- Implements
-
IDynamicMetaObjectProviderINotifyPropertyChanged
- Derived
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
Condition()
Initializes a new instance of the Condition class
public Condition()
Condition(IEnumerable<KeyValuePair<Object, Object>>)
Initializes a new instance of the Condition class.
public Condition(IEnumerable<KeyValuePair<object, object>> properties)
Parameters
propertiesIEnumerable<KeyValuePair<Object, Object>>Collection of properties.
Methods
Clone()
Creates a deep copy of the condition.
public abstract Condition Clone()
Returns
- Condition
Create a deep copy of the condition.
GetStatus(ModelActionContext)
Checks the Status the current Condition instance has in respect to the the passed ModelActionContext.
protected abstract Status GetStatus(ModelActionContext context)
Parameters
contextModelActionContextThe context the model action is to be executed in.