Table of Contents

Class RemovePin

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

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

public class RemovePin : INodeEditorCommand
Inheritance
object
RemovePin
Implements

Constructors

RemovePin(IPinCollection, IPin)

Creates a new instance of the RemovePin class.

public RemovePin(IPinCollection pinCollection, IPin pin)

Parameters

pinCollection IPinCollection

The pin collection to add the pin to.

pin IPin

The pin to remove.

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()