Class NodeConnectionStore
Represents a class that can store and restore a node's connections
Namespace: Artemis.UI.Shared.Services.NodeEditor
Assembly: Artemis.UI.Shared.dll
Syntax
public class NodeConnectionStore
Constructors
NodeConnectionStore(INode)
Creates a new instance of the NodeConnectionStore class.
Declaration
public NodeConnectionStore(INode node)
Parameters
Type | Name | Description |
---|---|---|
INode | node | The node whose connections to store |
Properties
Node
Gets the node this instance will store connections for.
Declaration
public INode Node { get; }
Property Value
Type | Description |
---|---|
INode |
Methods
Restore()
Restores the connections of the node as they were during the last Store() call.
Declaration
public void Restore()
Store()
Stores and clears the current connections of the node
Declaration
public void Store()