IDataCollection
StockSharp.Xaml.Diagram.GXDiagram.Model
A serializable collection of data representing a set of nodes and links.
Properties
Links
public IEnumerable<object> Links { get; set; }
value = iDataCollection.Links
iDataCollection.Links = value
Gets or sets the collection of link data.
Model
public IDiagramModel Model { get; set; }
value = iDataCollection.Model
iDataCollection.Model = value
Gets or sets the model holds this collection's data.
Nodes
public IEnumerable<object> Nodes { get; set; }
value = iDataCollection.Nodes
iDataCollection.Nodes = value
Gets or sets the collection of node data.
Methods
AddLink
public void AddLink(object linkdata)
iDataCollection.AddLink(linkdata)
Add a link data to this collection.
- linkdata
AddNode
public void AddNode(object nodedata)
iDataCollection.AddNode(nodedata)
Add a node data to this collection.
- nodedata
ContainsLink
public bool ContainsLink(object linkdata)
result = iDataCollection.ContainsLink(linkdata)
This predicate is true if the given link data is in the collection of Links.
- linkdata
ContainsNode
public bool ContainsNode(object nodedata)
result = iDataCollection.ContainsNode(nodedata)
This predicate is true if the given node data is in the collection of Nodes.
- nodedata
RemoveLink
public void RemoveLink(object linkdata)
iDataCollection.RemoveLink(linkdata)
Remove a link data from this collection.
- linkdata
RemoveNode
public void RemoveNode(object nodedata)
iDataCollection.RemoveNode(nodedata)
Remove a node data from this collection.
- nodedata