Class NodeScript<T>
Represents a node script with a result value of type T
public class NodeScript<T> : NodeScript, INodeScript<T>, INodeScript, IDisposable, IStorageModel, IPluginFeatureDependent
Type Parameters
TThe type of result value
- Inheritance
-
objectCorePropertyChangedNodeScript<T>
- Implements
-
INodeScript<T>
- Inherited Members
- Extension Methods
Constructors
NodeScript(string, string, NodeScriptEntity, object?, List<DefaultNode>?)
public NodeScript(string name, string description, NodeScriptEntity entity, object? context = null, List<DefaultNode>? defaultNodes = null)
Parameters
namestringdescriptionstringentityNodeScriptEntitycontextobjectdefaultNodesList<DefaultNode>
NodeScript(string, string, object?, List<DefaultNode>?)
Creates a new instance of the NodeScript class with a name, description and optional context
public NodeScript(string name, string description, object? context = null, List<DefaultNode>? defaultNodes = null)
Parameters
namestringThe name of the node script
descriptionstringThe description of the node script
contextobjectThe context of the node script, usually a Profile or ProfileConfiguration
defaultNodesList<DefaultNode>A list of default nodes to add to the node script.
Properties
ExitNodeConnected
Gets a boolean indicating whether the exit node is connected to any other nodes
public override bool ExitNodeConnected { get; }
Property Value
Result
Gets the result of the script
public T? Result { get; }
Property Value
- T
ResultType
Gets the return type of the node script.
public override Type ResultType { get; }