Class SourceCodeBinding
Represents a binding that establishes a relationship from a ModelAction to executable code that is directly stored with the binding.
Inheritance
System.Object
SourceCodeBinding
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 SourceCodeBinding : ModelActionBinding, IDynamicMetaObjectProvider, INotifyPropertyChanged
Constructors
SourceCodeBinding()
Declaration
protected SourceCodeBinding()
Properties
ActionCall
Gets or sets the function call derived from a function definition from source code.
Declaration
public string ActionCall { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Description
Gets or sets the description of the current instance.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsVerified
Gets or sets a value indicating whether the source code has been verfied or not.
Declaration
public bool IsVerified { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Signature
Gets or sets the signature. DEPRECATED.
Declaration
[Obsolete("Signature is deprecated. Use embededded signatures instead.")]
public byte[] Signature { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
SourceCode
Gets or sets the source code of a ModelAction.
Declaration
public string SourceCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If the source code is set, it is verified automatically by calling TimeCockpit.Data.DataModel.Actions.SourceCodeBinding.Verify(TimeCockpit.Data.Scripting.ExecutionInfo)
Thumbprint
Gets or sets the thumbprint. DEPRECATED.
Declaration
[Obsolete("Thumbprint is deprecated. Use embededded signatures instead.")]
public string Thumbprint { get; set; }
Property Value
Type | Description |
---|---|
System.String |