Esempio n. 1
0
 /// <summary>
 /// Get an enumerator to all data inputs to a node.
 /// </summary>
 public static Topology.InputConnectionCacheWalker GetInputsForPatching(this Topology.VertexCache vertexCache)
 => vertexCache.GetParentConnections(Topology.TraversalCache.Hierarchy.Alternate);
Esempio n. 2
0
 /// <summary>
 /// Get an enumerator to inputs connected to this port.
 /// </summary>
 /// <remarks>
 /// In DFG, it only makes sense to have one input to any input port, hence the naming.
 /// It should be checked.
 /// </remarks>
 public static Topology.InputConnectionCacheWalker GetInputForPatchingByPort(this Topology.VertexCache vertexCache, InputPortArrayID port)
 => vertexCache.GetParentConnectionsByPort(port, Topology.TraversalCache.Hierarchy.Alternate);