Table of Contents

Class NodeScript<T>

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

Represents a node script with a result value of type T

public class NodeScript<T> : NodeScript, INodeScript<T>, INodeScript, IDisposable, IStorageModel, IPluginFeatureDependent

Type Parameters

T

The type of result value

Inheritance
object
CorePropertyChanged
NodeScript<T>
Implements
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

name string
description string
entity NodeScriptEntity
context object
defaultNodes List<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

name string

The name of the node script

description string

The description of the node script

context object

The context of the node script, usually a Profile or ProfileConfiguration

defaultNodes List<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

bool

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; }

Property Value

Type