[]
Provides extension methods for working with IEnumerable<T> collections.
public static class EnumerableExtension
Name | Description |
---|---|
ForceInBackground<T>(IEnumerable<T>, CancellationToken) | Forces evaluation of the given IEnumerable<T> in a separate thread and returns a new IEnumerable<T> to be enumerated in the current thread. |
ForceInBackground<T>(IEnumerable<T>, CancellationToken, int) | Forces evaluation of the given IEnumerable<T> in a separate thread and returns a new IEnumerable<T> to be enumerated in the current thread. |
Range<T>(IList<T>, int, int) | Returns a range of elements from the list starting at the specified index. |
SelectManyTransposed<T>(IEnumerable<IEnumerable<T>>) | Selects many items in N-order. |
SelectManyWithPrev<TSource, TResult>(IEnumerable<TSource>, Func<TResult, TSource, IEnumerable<TResult>>) | Selects many items with a previous element reference. |
SelectWithPrevNext<T, TResult>(IEnumerable<T>, Func<T, T, T, TResult>) | Selects items with references to the previous and next elements. |
ThrowIfCancelled<T>(IEnumerable<T>, CancellationToken) | Provides support for LINQ queries with a CancellationToken. |
WithCancellation<T>(IEnumerable<T>, CancellationToken) | Enumerates the items with cancellation support. |
WithProgress<T, T2>(IEnumerable<T>, IProgress<T2>, Func<T, T2>) | Provides support for LINQ queries with a progress provider. |