Search Results for

    Show / Hide Table of Contents

    Class Condition

    Encapsulates information about a condition which determines if the code of a Binding is executable.

    Inheritance
    System.Object
    DynamicObject
    NamedDynamicObject
    Condition
    IronPythonCondition
    ModelEntityTypeCondition
    Implements
    System.Dynamic.IDynamicMetaObjectProvider
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    NamedDynamicObject.OnPropertyChanged(String)
    NamedDynamicObject.Name
    NamedDynamicObject.PropertyChanged
    DynamicObject.GetMember(String)
    DynamicObject.SetMember(String, Object)
    DynamicObject.GetMetaObject(Expression)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: TimeCockpit.Data.DataModel
    Assembly: TimeCockpit.Data.dll
    Syntax
    public abstract class Condition : NamedDynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged

    Constructors

    Condition()

    Initializes a new instance of the Condition class

    Declaration
    public Condition()

    Condition(IEnumerable<KeyValuePair<Object, Object>>)

    Initializes a new instance of the Condition class.

    Declaration
    public Condition(IEnumerable<KeyValuePair<object, object>> properties)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Object, System.Object>> properties

    Collection of properties.

    Methods

    Clone()

    Creates a deep copy of the condition.

    Declaration
    public abstract Condition Clone()
    Returns
    Type Description
    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.

    Declaration
    protected abstract Status GetStatus(ModelActionContext context)
    Parameters
    Type Name Description
    ModelActionContext context

    The context the model action is to be executed in.

    Returns
    Type Description
    Status

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

    In This Article
    Back to top Copyright © 2020 software architects gmbh