LinqExtensions.Grouping<TKey, T> Class

Represents a collection of values labeled by a key.

Definition

Namespace: Extreme.DataAnalysis.Linq
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public class Grouping<TKey, T> : IGrouping<TKey, T>, 
	IEnumerable<T>, IEnumerable
Inheritance
Object  →  LinqExtensions.Grouping<TKey, T>
Implements
IEnumerable<T>, IEnumerable, IGrouping<TKey, T>

Type Parameters

TKey
The type of the key.
T
The type of the elements of the collection.

Constructors

LinqExtensions.Grouping<TKey, T> Constructs a new grouping object.

Properties

Key Gets the key of the grouping.
Values Gets a list of the values in the grouping.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumerator Returns an enumerator that iterates through the collection.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

Group<T> Returns a grouping by the unique elements in a sequence.
(Defined by Grouping)
Group<T> Returns a grouping by the unique elements in a sequence using the specified comparer to determine equality.
(Defined by Grouping)
Sum<T> Computes the sum of the sequence of values.
(Defined by ArrayMath)
Sum<T, U> Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath)

See Also