Class RemovePin
Represents a node editor command that can be used to remove a pin from a pin collection.
public class RemovePin : INodeEditorCommand
- Inheritance
-
objectRemovePin
- Implements
Constructors
RemovePin(IPinCollection, IPin)
Creates a new instance of the RemovePin class.
public RemovePin(IPinCollection pinCollection, IPin pin)
Parameters
pinCollectionIPinCollectionThe pin collection to add the pin to.
pinIPinThe pin to remove.
Properties
DisplayName
Gets the name of the command
public string DisplayName { get; }
Property Value
Methods
Execute()
Executes the command
public void Execute()
Undo()
Undoes the command
public void Undo()