ICopyDictionary

StockSharp.Xaml.Diagram.GXDiagram.Model

A dictionary of data representing a set of nodes and links and their corresponding copies, used during the copying process.

Properties

Copies
public IDataCollection Copies { get; }
value = iCopyDictionary.Copies

Gets the collection of copied nodes and copied links as an IDataCollection.

DestinationModel
public IDiagramModel DestinationModel { get; set; }
value = iCopyDictionary.DestinationModel
iCopyDictionary.DestinationModel = value

Gets or sets the destination model for the copying operation.

SourceCollection
public IDataCollection SourceCollection { get; set; }
value = iCopyDictionary.SourceCollection
iCopyDictionary.SourceCollection = value

Gets or sets the source collection of data to be copied for the copying operation.

SourceModel
public IDiagramModel SourceModel { get; set; }
value = iCopyDictionary.SourceModel
iCopyDictionary.SourceModel = value

Gets or sets the source model for the copying operation.

Methods

AddCopiedNode
public void AddCopiedNode(object srcnodedata, object dstnodedata)
iCopyDictionary.AddCopiedNode(srcnodedata, dstnodedata)

Declare the mapping of a source node data to a copied node data.

srcnodedata
dstnodedata
ContainsSourceNode
public bool ContainsSourceNode(object srcnodedata)
result = iCopyDictionary.ContainsSourceNode(srcnodedata)

This predicate is true if the given node data is in the source collection.

srcnodedata
FindCopiedNode
public object FindCopiedNode(object srcnodedata)
result = iCopyDictionary.FindCopiedNode(srcnodedata)

Look up the copied node for a given source node.

srcnodedata
RemoveSourceNode
public void RemoveSourceNode(object srcnodedata)
iCopyDictionary.RemoveSourceNode(srcnodedata)

Remove any association between a source node data and any copied node data.

srcnodedata