November Happy Hour will be moved to Thursday December 5th.

Class ContentHierarchicalEnumerable

Inheritance
System.Object
ContentHierarchicalEnumerable
Implements
System.Web.UI.IHierarchicalEnumerable
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.UI.WebControls.ContentDataSource
Assembly: EPiServer.UI.dll
Version: 11.20.7
Syntax
public class ContentHierarchicalEnumerable : IHierarchicalEnumerable, IEnumerable, IHierarchyParent

Constructors

ContentHierarchicalEnumerable(ContentReference, IHierarchicalContentDataSource)

Declaration
public ContentHierarchicalEnumerable(ContentReference root, IHierarchicalContentDataSource dataSource)
Parameters
Type Name Description
ContentReference root
IHierarchicalContentDataSource dataSource

ContentHierarchicalEnumerable(ContentReference, IHierarchicalContentDataSource, Int32)

Declaration
public ContentHierarchicalEnumerable(ContentReference root, IHierarchicalContentDataSource dataSource, int indent)
Parameters
Type Name Description
ContentReference root
IHierarchicalContentDataSource dataSource
System.Int32 indent

ContentHierarchicalEnumerable(IEnumerable<IContentData>, IHierarchicalContentDataSource)

Declaration
public ContentHierarchicalEnumerable(IEnumerable<IContentData> items, IHierarchicalContentDataSource dataSource)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContentData> items
IHierarchicalContentDataSource dataSource

ContentHierarchicalEnumerable(IEnumerable<IContentData>, IHierarchicalContentDataSource, Int32)

Declaration
public ContentHierarchicalEnumerable(IEnumerable<IContentData> items, IHierarchicalContentDataSource dataSource, int indent)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContentData> items
IHierarchicalContentDataSource dataSource
System.Int32 indent

Properties

Indent

Declaration
public int Indent { get; }
Property Value
Type Description
System.Int32

Items

Declaration
public IEnumerable<IContentData> Items { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IContentData>

Methods

GetEnumerator()

Declaration
public IEnumerator<ContentHierarchyData> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<ContentHierarchyData>

GetHierarchyData(Object)

Declaration
public IHierarchyData GetHierarchyData(object enumeratedItem)
Parameters
Type Name Description
System.Object enumeratedItem
Returns
Type Description
System.Web.UI.IHierarchyData

GetParent()

Declaration
public IHierarchyData GetParent()
Returns
Type Description
System.Web.UI.IHierarchyData

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

System.Web.UI.IHierarchicalEnumerable
System.Collections.IEnumerable

Extension Methods