Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: RT.Util.ExtensionMethods.ConsecutiveGroup<TItem, TKey>

Summary

Encapsulates information about a group generated by IEnumerableExtensions.GroupConsecutive<TItem>(this IEnumerable<TItem>, IEqualityComparer<TItem>) and its overloads.

Generic type parameters

TItem Type of the elements in the sequence.
TKey Type of the key by which elements were compared.

Instance methods

IEnumerator<TItem>
  • Implements: IEnumerable<TItem>.GetEnumerator()
Returns an enumerator that iterates through the collection.
string
  • Overrides: object.ToString()
Returns a string that represents this group’s key and its count.

Instance properties

intSize of the group.
intIndex in the original sequence where the group started.
TKeyThe key by which the items in this group are deemed equal.