Table of Contents

Class ConnectPins

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 ConnectPins : INodeEditorCommand
Inheritance
object
ConnectPins
Implements

Constructors

ConnectPins(IPin, IPin)

Creates a new instance of the ConnectPins class.

public ConnectPins(IPin source, IPin target)

Parameters

source IPin

The source of the connection.

target IPin

The target of the connection.

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