Table of Contents

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
Object
Condition
Implements
IDynamicMetaObjectProvider
INotifyPropertyChanged
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

properties IEnumerable<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

context ModelActionContext

The context the model action is to be executed in.

Returns

Status

A Status that has been determined by the implementations of the deriving classes.