Class IronPythonCondition
- Namespace
- TimeCockpit.Data.DataModel.Actions
- Assembly
- TimeCockpit.Data.dll
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.
public class IronPythonCondition : Condition, IDynamicMetaObjectProvider, INotifyPropertyChanged
- Inheritance
-
ObjectIronPythonCondition
- Implements
-
IDynamicMetaObjectProviderINotifyPropertyChanged
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Remarks
Up to now, the IronPythonCondition is not supported!
Constructors
IronPythonCondition()
Initializes a new instance of the IronPythonCondition class
public IronPythonCondition()
Properties
SourceCode
Gets or sets the source code that is used to evaluate if the Condition is satisfied or not
public string SourceCode { get; set; }
Property Value
- String
Methods
Clone()
Creates a deep copy of the condition.
public override Condition Clone()
Returns
- Condition
Create a deep copy of the condition.
GetStatus(ModelActionContext)
Checks the status a Condition has in respect to an ModelActionContext.
protected override Status GetStatus(ModelActionContext context)
Parameters
contextModelActionContextThe ModelActionContext the ModelAction is to be executed in.
Returns
- Status
The Status the Condition has in respect to the given ModelActionContext.