Exemplo n.º 1
0
 /// <summary>
 /// Creates a new data flow graph node.
 /// </summary>
 /// <param name="id">A unique identifier for the node that can be used for indexing the node.</param>
 /// <param name="contents">The contents of the node.</param>
 public DataFlowNode(long id, TContents contents)
 {
     Id                   = id;
     Contents             = contents;
     StackDependencies    = new StackDependencyCollection <TContents>(this);
     VariableDependencies = new VariableDependencyCollection <TContents>(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new data flow graph node.
 /// </summary>
 /// <param name="id">A unique identifier for the node that can be used for indexing the node.</param>
 /// <param name="contents">The contents of the node.</param>
 public DataFlowNode(long id, TContents contents)
 {
     Id                   = id;
     Contents             = contents;
     StackDependencies    = new StackDependencyCollection <TContents>(this);
     VariableDependencies = new VariableDependencyCollection <TContents>(this);
     IncomingEdges        = new List <DataFlowEdge <TContents> >();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Creates a new instance of the <see cref="Enumerator"/> class.
 /// </summary>
 /// <param name="collection">The collection to enumerate.</param>
 public Enumerator(VariableDependencyCollection <TContents> collection)
 {
     _enumerator = collection._entries.GetEnumerator();
 }