AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

HierarchyData<(Of <(<'T>)>)> Class

Adapter that wraps a model implementing IModelWithHierarchy<(Of <(<'T>)>)> to satisfy the IHierarchyData contract. This is the bridge that allows tree data-bound controls to navigate and render a custom object hierarchy.

Instances are created by [HierarchyConverter.ToHierarchicalModelList{T}] and are not typically constructed directly by application code.

Namespace:  AdvantageCSP.HierarchicalModelDataSource
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public class HierarchyData<T> : IHierarchyData
where T : IModelWithHierarchy<T>

Type Parameters

T
A model type that implements IModelWithHierarchy<(Of <(<'T>)>)> (e.g., a Navigation or Category node that knows its own parent and children).

Inheritance Hierarchy


Object
  AdvantageCSP.HierarchicalModelDataSource..::..HierarchyData<(Of <(<'T>)>)>