Artemis Artemis
Artemis Artemis

Search Results for

    Class NodeScript<T>

    Represents a node script with a result value of type T

    Inheritance
    object
    CorePropertyChanged
    NodeScript
    NodeScript<T>
    Implements
    INodeScript<T>
    INodeScript
    IDisposable
    IStorageModel
    Inherited Members
    NodeScript.Run()
    NodeScript.AddNode(INode)
    NodeScript.RemoveNode(INode)
    NodeScript.Dispose()
    NodeScript.Load()
    NodeScript.LoadConnections()
    NodeScript.Save()
    NodeScript.Entity
    NodeScript.Name
    NodeScript.Description
    NodeScript.Nodes
    NodeScript.ExitNode
    NodeScript.Context
    NodeScript.NodeAdded
    NodeScript.NodeRemoved
    Namespace: Artemis.Core
    Assembly: Artemis.Core.dll
    Syntax
    public class NodeScript<T> : NodeScript, INodeScript<T>, INodeScript, IDisposable, IStorageModel
    Type Parameters
    Name Description
    T

    The type of result value

    Constructors

    NodeScript(string, string, NodeScriptEntity, object?, List<DefaultNode>?)

    Declaration
    public NodeScript(string name, string description, NodeScriptEntity entity, object? context = null, List<DefaultNode>? defaultNodes = null)
    Parameters
    Type Name Description
    string name
    string description
    NodeScriptEntity entity
    object context
    List<DefaultNode> defaultNodes

    NodeScript(string, string, object?, List<DefaultNode>?)

    Creates a new instance of the NodeScript class with a name, description and optional context

    Declaration
    public NodeScript(string name, string description, object? context = null, List<DefaultNode>? defaultNodes = null)
    Parameters
    Type Name Description
    string name

    The name of the node script

    string description

    The description of the node script

    object context

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

    List<DefaultNode> defaultNodes

    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

    Declaration
    public override bool ExitNodeConnected { get; }
    Property Value
    Type Description
    bool
    Overrides
    NodeScript.ExitNodeConnected

    Result

    Gets the result of the script

    Declaration
    public T? Result { get; }
    Property Value
    Type Description
    T

    ResultType

    Gets the return type of the node script.

    Declaration
    public override Type ResultType { get; }
    Property Value
    Type Description
    Type
    Overrides
    NodeScript.ResultType

    Implements

    INodeScript<T>
    INodeScript
    IDisposable
    IStorageModel

    Extension Methods

    NodeScriptExtension.Organize(NodeScript)
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.