Class ListGraphNodeUtilities
Provides methods for graph manipulation.
Inheritance
System.Object
ListGraphNodeUtilities
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Common
Assembly: Terrasoft.Common.dll
Syntax
public static class ListGraphNodeUtilities
Methods
OrderByTopology<T>(IList<T>)
Returns collection of graph nodes ordered by topology.
Declaration
public static IEnumerable<T> OrderByTopology<T>(this IList<T> source)
where T : IGraphNode
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<T> | source | Unordered collection of graph nodes. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T> | Graph nodes ordered by topology. |
Type Parameters
Name | Description |
---|---|
T | Type of graph nodes. |