Table of Contents

Class AddPin

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

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

public class AddPin : INodeEditorCommand
Inheritance
object
AddPin
Implements

Constructors

AddPin(IPinCollection)

Creates a new instance of the AddPin class.

public AddPin(IPinCollection pinCollection)

Parameters

pinCollection IPinCollection

The pin collection to add the pin to.

Properties

DisplayName

Gets the name of the command

public string DisplayName { get; }

Property Value

string

Methods

Execute()

Executes the command

public void Execute()

Undo()

Undoes the command

public void Undo()