Example #1
0
 /// <summary>
 /// Obtains a collection of edges encoding all the dependencies that this node has.
 /// </summary>
 /// <returns>The edges.</returns>
 public IEnumerable <DataFlowEdge <TContents> > GetOutgoingEdges()
 {
     return(StackDependencies
            .SelectMany(d => d.GetEdges())
            .Concat(VariableDependencies.SelectMany(d => d.GetEdges())));
 }
Example #2
0
 IEnumerable <INode> INode.GetSuccessors() => StackDependencies
 .SelectMany(
     dep => dep,
     (dep, source) => source.Node);