Namespace Cuemon.Extensions.Runtime
Model runtime objects as hierarchical tree structures to inspect their relationships, paths, and structure during application execution. Use this namespace when you need to build and navigate object graphs as hierarchies. Start with IHierarchy<T> for defining hierarchical data or HierarchyDecoratorExtensions for navigating tree structures.
Availability: .NET 10, .NET 9 and .NET Standard 2.0
Complements: Cuemon.Extensions namespace 📘
Extension Members
| Type | Ext | Methods |
|---|---|---|
| IDecorator<IHierarchy |
⬇️ | UseConvertibleFormatter, UseUriFormatter, UseDateTimeFormatter, UseGuidFormatter, UseStringFormatter, UseDecimalFormatter, UseCollection, UseDictionary |
| IDecorator<IHierarchy |
⬇️ | FindFirstInstance<T>, FindSingleInstance<T>, FindInstance<T>, FindFirst<T>, FindSingle<T>, Find<T>, Replace<T>, Root<T>, AncestorsAndSelf<T>, DescendantsAndSelf<T>, SiblingsAndSelf<T>, SiblingsAndSelfAt<T>, NodeAt<T>, FlattenAll<T> |
| IDecorator<IEnumerable<IHierarchy |
⬇️ | ReplaceAll<T> |
| IHierarchy |
⬇️ | UseGenericConverter<T> |
| IEnumerable<IHierarchy |
⬇️ | ParseCollectionItem, ParseDictionaryItem |
Related: Cuemon.Extensions.Runtime.Serialization namespace 📘
Classes
Hierarchy
Provides a set of static methods for hierarchy related operations.
HierarchyDecoratorExtensions
Extension methods for the IHierarchy<T> interface hidden behind the IDecorator<T> interface.
HierarchyOptions
Specifies options that is related to Hierarchy and HierarchySerializer operations.
Hierarchy<T>
Represents a way to expose a node of a hierarchical structure, including the node object of type T.
Interfaces
IHierarchy<T>
Provides a generic way to expose a node of a hierarchical structure, including the node object of type T.