Exemplo n.º 1
0
 /// <summary>
 /// Gets this node as well as all its children hierarchy.
 /// </summary>
 public static IEnumerable <IHierarchy> WithAllChildren(this IHierarchy parent) =>
 parent.GetAllChildren().Concat(parent).OrderBy(i => i.GetFullPath()).ToArray();