Utils Class

Providing utilities for work with trees
Inheritance Hierarchy
System.Object
  Gamanet.C4.SimpleInterfaces.Utils

Namespace: Gamanet.C4.SimpleInterfaces
Assembly: Gamanet.C4.SimpleInterfaces (in Gamanet.C4.SimpleInterfaces.dll) Version: 2026.0.0.242
Syntax
C#
public static class Utils

The Utils type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCode exampleFindNode<T> Finds the node by entity Id.
Public methodStatic memberCode exampleGetSubtree<T>(TreeNode<T>) Sorts the tree by parents in order to be able to insert it by parents first.
Public methodStatic memberCode exampleGetSubtree<T>(TreeNode<T>, Guid) Sorts the tree by parents in order to be able to insert it by parents first
Public methodStatic memberCode exampleListToHierarchy<T> Lists to hierarchy in order to be able to insert it by parents first.
Public methodStatic memberListToTree<T>(IList<T>) Converts list to tree structure with one root.
Public methodStatic memberListToTree<T>(IList<T>, Guid) Lists to tree.
Public methodStatic memberSortHierarchyByParents<T> Sorts the hierarchical structure by parents in order to be able to insert it by parents first
Top
See Also

Reference

Gamanet.C4.SimpleInterfaces Namespace