ICopyDictionary
A dictionary of data representing a set of nodes and links and their corresponding copies, used during the copying process.
Properties
public IDataCollection Copies { get; }
value = iCopyDictionary.Copies
Gets the collection of copied nodes and copied links as an IDataCollection.
public IDiagramModel DestinationModel { get; set; }
value = iCopyDictionary.DestinationModel
iCopyDictionary.DestinationModel = value
Gets or sets the destination model for the copying operation.
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.
public IDiagramModel SourceModel { get; set; }
value = iCopyDictionary.SourceModel
iCopyDictionary.SourceModel = value
Gets or sets the source model for the copying operation.
Methods
public void AddCopiedLink(object srclinkdata, object dstlinkdata)
iCopyDictionary.AddCopiedLink(srclinkdata, dstlinkdata)
Declare the mapping of a source link data to a copied link data.
- srclinkdata
- dstlinkdata
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
public bool ContainsSourceLink(object srclinkdata)
result = iCopyDictionary.ContainsSourceLink(srclinkdata)
This predicate is true if the given link data is in the source collection.
- srclinkdata
public bool ContainsSourceNode(object srcnodedata)
result = iCopyDictionary.ContainsSourceNode(srcnodedata)
This predicate is true if the given node data is in the source collection.
- srcnodedata
public object FindCopiedLink(object srclinkdata)
result = iCopyDictionary.FindCopiedLink(srclinkdata)
Look up the copied link for a given source link.
- srclinkdata
public object FindCopiedNode(object srcnodedata)
result = iCopyDictionary.FindCopiedNode(srcnodedata)
Look up the copied node for a given source node.
- srcnodedata
public void RemoveSourceLink(object srclinkdata)
iCopyDictionary.RemoveSourceLink(srclinkdata)
Remove any association between a source link data and any copied link data.
- srclinkdata
public void RemoveSourceNode(object srcnodedata)
iCopyDictionary.RemoveSourceNode(srcnodedata)
Remove any association between a source node data and any copied node data.
- srcnodedata