Table of Contents

Interface INodeService

Namespace
Artemis.Core.Services
Assembly
Artemis.Core.dll

A service that provides access to the node system

public interface INodeService

Properties

AvailableNodes

Gets all available nodes

IEnumerable<NodeData> AvailableNodes { get; }

Property Value

IEnumerable<NodeData>

Methods

ExportScript(NodeScript)

Exports the provided node script to JSON.

string ExportScript(NodeScript nodeScript)

Parameters

nodeScript NodeScript

The node script to export.

Returns

string

The resulting JSON.

GetRegisteredTypes()

Gets all currently available node pin types.

List<Type> GetRegisteredTypes()

Returns

List<Type>

A List<T> of Type containing the currently available node pin types.

GetTypeColorRegistration(Type)

Gets the best matching registration for the provided type

TypeColorRegistration GetTypeColorRegistration(Type type)

Parameters

type Type

Returns

TypeColorRegistration

ImportScript(string, NodeScript)

Imports the provided JSON onto the provided node script, overwriting any existing contents.

void ImportScript(string json, NodeScript target)

Parameters

json string

The JSON to import.

target NodeScript

The target node script whose contents to overwrite.