Search Results for

    Show / Hide Table of Contents

    Class IronPythonCondition

    Encapsulates information about a condition which determines if the code of a ModelAction's ModelAction.Binding is executable. An instance of IronPythonCondition executes IronPython code to determine if a ModelAction is NotValid, Disabled or Executable.

    Inheritance
    System.Object
    DynamicObject
    NamedDynamicObject
    Condition
    IronPythonCondition
    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.Actions
    Assembly: TimeCockpit.Data.dll
    Syntax
    public class IronPythonCondition : Condition, IDynamicMetaObjectProvider, INotifyPropertyChanged
    Remarks

    Up to now, the IronPythonCondition is not supported!

    Constructors

    IronPythonCondition()

    Initializes a new instance of the IronPythonCondition class

    Declaration
    public IronPythonCondition()

    Properties

    SourceCode

    Gets or sets the source code that is used to evaluate if the Condition is satisfied or not

    Declaration
    public string SourceCode { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Clone()

    Creates a deep copy of the condition.

    Declaration
    public override Condition Clone()
    Returns
    Type Description
    Condition

    Create a deep copy of the condition.

    Overrides
    Condition.Clone()

    GetStatus(ModelActionContext)

    Checks the status a Condition has in respect to an ModelActionContext.

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

    The ModelActionContext the ModelAction is to be executed in.

    Returns
    Type Description
    Status

    The Status the Condition has in respect to the given ModelActionContext.

    Overrides
    Condition.GetStatus(ModelActionContext)
    In This Article
    Back to top Copyright © 2020 software architects gmbh