Share via


IEnumerableExtensions Class

Definition

IEnumerable extension methods

public static class IEnumerableExtensions
type IEnumerableExtensions = class
Public Module IEnumerableExtensions
Inheritance
IEnumerableExtensions

Methods

Batch<TSource>(IEnumerable<TSource>, Int32)

Batches an enumerable into batches of the specified size.

CoalesceEnumerable<TSource>(IEnumerable<TSource>)

Coalesces the enumerable.

Distinct<TSource,TKeyType>(IEnumerable<TSource>, Func<TSource,TKeyType>, IEqualityComparer<TKeyType>)

Returns a distinct collection based on a key.

DistinctArray<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)

Returns a distinct array.

SelectArray<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)

Selects a collection and returns an array.

SelectManyArray<TSource,TResult>(IEnumerable<TSource>, Func<TSource,IEnumerable<TResult>>)

Selects a collection and returns an array.

ToInsensitiveDictionary<TSource,TValue>(IEnumerable<TSource>, Func<TSource,String>, Func<TSource,TValue>)

Creates an insensitive dictionary from an enumerable.

ToInsensitiveDictionary<TValue>(IEnumerable<TValue>, Func<TValue,String>)

Creates an insensitive dictionary from an enumerable.

Applies to