GroupedEnumerableItemType Constructor |
Constructor
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax 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