Orders an enumerable of T[] by multiple items (using indexes)
public static IOrderedEnumerable<T[]> OrderByMany<T>(this IEnumerable<T[]> src, int[] indexes)| parameter | description |
|---|---|
| T | Items type (passed as arrays) |
| src | Source collection |
| indexes | Indexes to get elements at for ordering |
An ordered enumerable
- class EnumerableExtensions
- namespace Wokhan.Collections.Generic.Extensions
Orders an enumerable of T[] by the first "take" values of each array (optionnally skipping some)
public static IOrderedEnumerable<T[]> OrderByMany<T>(this IEnumerable<T[]> src, int take,
int skip = 0)| parameter | description |
|---|---|
| T | Enumerable items type |
| src | Source collection |
| take | Number of values to take in the array for each item |
| skip | Number of values to skip in the array for each item |
- class EnumerableExtensions
- namespace Wokhan.Collections.Generic.Extensions
Orders a queryable of T[] by the first "take" values of each array (optionnally skipping some)
public static IOrderedQueryable<T[]> OrderByMany<T>(this IQueryable<T[]> src, int columnsToTake,
int columnsToSkip = 0)| parameter | description |
|---|---|
| T | Enumerable items type |
| src | Source collection |
| take | Number of values to take in the array for each item |
| skip | Number of values to skip in the array for each item |
- class EnumerableExtensions
- namespace Wokhan.Collections.Generic.Extensions