Click or drag to resize
GroupedEnumerableItemType Constructor
Constructor

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 9.0.0
Syntax
C#
public GroupedEnumerable(
	IEnumerable<ItemType> data,
	Func<ItemType, Object> getItemKey,
	Func<ItemType, int> getItemLevel = null
)

Parameters

data
Type: System.Collections.GenericIEnumerableItemType
Data
getItemKey
Type: SystemFuncItemType, Object
Lambda to evaluate the key of the item
getItemLevel (Optional)
Type: SystemFuncItemType, Int32
Lambda to evaluate the level of the item
See Also