[]
Provides additional LINQ extensions.
[Obsolete("Will be internal. Write your own.")]
public static class EnumerableExtensions
Name | Description |
---|---|
AsIndexed<T>(IEnumerable<T>) | This method extends the LINQ methods to add index for each item |
Flatten<T>(IEnumerable<T>, Func<T, IEnumerable<T>>) | This method extends the LINQ methods to flatten a collection of items that have a property of children of the same type. |
Flatten<T>(T, Func<T, IEnumerable<T>>) | This method extends the LINQ methods to obtain a single-level collection of descendants(is a collections) of an object of type T |
Flatten<T>(T, Func<T, T>) | This method extends the LINQ methods to obtain a single-level collection of descendants(is an object) of an object of type T |
Repeat<T>(T, int) | Generates a sequence that contains one repeated value. |
SelectWithNext<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TSource, TResult>) | Proceeds each item in enumerable with its follower. |
Select<T, TR>(IEnumerable<T>, Func<T, bool, bool, TR>) | Projection of given sequence with first, last markers. |
WithIndex<T>(T, int) | Wraps an item of type T into type OrderedItem<T>, adding the specified index |
ZipEx<T1, T2, TR>(IEnumerable<T1>, IEnumerable<T2>, Func<int, T1, T2, TR>) | Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results |
ZipEx<T1, T2, TR>(IEnumerable<T1>, IEnumerable<T2>, Func<T1, T2, TR>) | Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results |