Table of Contents

Class DisconnectPins

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

Represents a node editor command that can be used to connect two pins.

public class DisconnectPins : INodeEditorCommand
Inheritance
object
DisconnectPins
Implements

Constructors

DisconnectPins(IPin)

Creates a new instance of the DisconnectPins class.

public DisconnectPins(IPin pin)

Parameters

pin IPin

The pin to disconnect.

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