AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

HierarchyConverter Members

The HierarchyConverter type exposes the following members.

Methods


  Name Description
Public method Static member ToHierarchicalModelList<(Of <<'(T>)>>)
Wraps each model in the collection with a [HierarchyData{T}] adapter and returns them as a [HierarchicalModelList] that implements [IHierarchicalEnumerable]. The resulting list can be used directly as the data source for WebForms tree-bound controls, or is used internally by [HierarchicalModelDataSource{T}.GetHierarchicalView] and [HierarchyData{T}.GetChildren].