public IEnumerable <Node <T> > Order() { if (_orderedRevisionVersion != _revisionVersion) { var sort = new TopologicalSort(this); orderedNodes = sort.Order(); _orderedRevisionVersion = _revisionVersion; } return(orderedNodes ?? new List <Node <T> >()); }
public IEnumerable <Node> Order() { var order = new TopologicalSort(); return(order.Order(this)); }
public IEnumerable<Node> Order() { var order = new TopologicalSort(); return order.Order(this); }