Class ModelActionBinding
Represents a binding that a ModelAction can use to retrieve exectuable code, e.g. IronPython or C#
Inheritance
System.Object
ModelActionBinding
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.ComponentModel.INotifyPropertyChanged
Inherited Members
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 abstract class ModelActionBinding : NamedDynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged
Constructors
ModelActionBinding()
Declaration
protected ModelActionBinding()
Methods
Clone()
Creates a deep copy of the model action binding.
Declaration
public abstract ModelActionBinding Clone()
Returns
Type | Description |
---|---|
ModelActionBinding | Returns a deep copy of the model action binding. |
Execute(ExecutionContext)
Calls an executable piece of code that is associated with the current ModelActionBinding.
Declaration
protected abstract void Execute(ExecutionContext context)
Parameters
Type | Name | Description |
---|---|---|
ExecutionContext | context | The ExecutionContext in which to execute the source code of a ModelActionBinding |