Click or drag to resize
GroupedEnumerableItemType Class
Class providing enumerable grouping - one pass enumerable grouping.
Inheritance Hierarchy
SystemObject
  CMS.BaseGroupedEnumerableItemType

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public class GroupedEnumerable<ItemType> : IGroupedData, 
	IEnumerable

Type Parameters

ItemType

The GroupedEnumerableItemType type exposes the following members.

Constructors
Methods
  NameDescription
Protected methodAddItem
Adds the item to the group table.
Protected methodEnsureList
Ensures the list with specified key value.
Public methodGetEnumerator
Returns grouped datasource enumerator.
Public methodGetGroup
Returns the array list of items from specified group, type of the item depends on the DataSource DataSet, DataView, DataTable -> DataRow
Public methodGetGroupView
Returns the array list of items from specified group, type of the item depends on the DataSource DataSet, DataView, DataTable -> DataRowView
Public methodGetItems
Gets the children based on the given key
Protected methodLoadGroups
Loads the data groups.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Top
Fields
  NameDescription
Protected fieldfirstLevel
Top level of the collection.
Protected fieldmGroups
Resulting groups.
Protected fieldmTopItem
Top item object.
Top
Properties
  NameDescription
Public propertyGetItemKey
Lambda to evaluate the key of the item
Public propertyGetItemLevel
Lambda to evaluate the level of the item
Public propertyItems
Data source.
Public propertyTopItem
Gets the first available item.
Top
See Also