Table of Contents

Class AddNode

Namespace
Artemis.UI.Shared.Services.NodeEditor.Commands
Assembly
Artemis.UI.Shared.dll

Represents a node editor command that can be used to add a node.

public class AddNode : INodeEditorCommand, IDisposable
Inheritance
object
AddNode
Implements

Constructors

AddNode(INodeScript, INode)

Creates a new instance of the AddNode class.

public AddNode(INodeScript nodeScript, INode node)

Parameters

nodeScript INodeScript

The node script the node belongs to.

node INode

The node to delete.

Properties

DisplayName

Gets the name of the command

public string DisplayName { get; }

Property Value

string

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Execute()

Executes the command

public void Execute()

Undo()

Undoes the command

public void Undo()