Class GroupResult
The result of a call to a DynamicQueryableExtensions.GroupByMany() overload.
Inheritance
System.Object
GroupResult
Inherited Members
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: System.Linq.Dynamic.Core
Assembly: System.Linq.Dynamic.Core.dll
Syntax
public class GroupResult
Properties
| Improve this Doc View SourceCount
The number of resulting elements in the group.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Items
The resulting elements in the group.
Declaration
public IEnumerable Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable |
Key
The key value of the group.
Declaration
public object Key { get; }
Property Value
Type | Description |
---|---|
System.Object |
Subgroups
The resulting subgroups in the group.
Declaration
public IEnumerable<GroupResult> Subgroups { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<GroupResult> |
Methods
| Improve this Doc View SourceToString()
Returns a System.String showing the key of the group and the number of items in the group.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |
Overrides
System.Object.ToString()