Class EntityObjectRelationSort
Class containing helper methods for sorting a set of entities along their relation dependency.
Inheritance
System.Object
EntityObjectRelationSort
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: TimeCockpit.Data
Assembly: TimeCockpit.Data.dll
Syntax
public class EntityObjectRelationSort
Constructors
EntityObjectRelationSort()
Declaration
public EntityObjectRelationSort()
Methods
Topological(IEnumerable<EntityObject>)
Topological sort by entity object relations.
Declaration
public static IEnumerable<EntityObject> Topological(IEnumerable<EntityObject> objects)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<EntityObject> | objects | The objects to sort. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<EntityObject> | Returns the sorted objects. |