Table of Contents

Class NodeData

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

Represents node data describing a certain INode

public class NodeData
Inheritance
object
NodeData

Properties

Category

Gets the category of the node this data represents

public string Category { get; }

Property Value

string

Description

Gets the description of the node this data represents

public string Description { get; }

Property Value

string

HelpUrl

Gets the help URL of the node this data represents

public string HelpUrl { get; }

Property Value

string

InputType

Gets the primary input type of the node this data represents

public Type? InputType { get; }

Property Value

Type

Name

Gets the name of the node this data represents

public string Name { get; }

Property Value

string

OutputType

Gets the primary output of the node this data represents

public Type? OutputType { get; }

Property Value

Type

Provider

Gets the node provider that provided this node data

public NodeProvider Provider { get; }

Property Value

NodeProvider

Type

Gets the type of INode this data represents

public Type Type { get; }

Property Value

Type

Methods

CreateNode(INodeScript, NodeEntity?)

Creates a new instance of the node this data represents

public INode CreateNode(INodeScript script, NodeEntity? entity)

Parameters

script INodeScript

The script to create the node for

entity NodeEntity

An optional storage entity to apply to the node

Returns

INode

The returning node of type Type

IsCompatibleWithPin(IPin?)

Determines whether the given pin is compatible with this node data's node.

public bool IsCompatibleWithPin(IPin? pin)

Parameters

pin IPin

The pin to check compatibility with, if null then the node data is always considered compatible.

Returns

bool

true if the pin is compatible with this node data's node; otherwise false.

MatchesSearch(string)

Determines whether the given text matches this node data for a search query.

public bool MatchesSearch(string text)

Parameters

text string

The text to search for.

Returns

bool

true if the node matches; otherwise false.