Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 1.95 KB

File metadata and controls

70 lines (48 loc) · 1.95 KB

EnumerableExtensions.OrderByMany<T> method (1 of 3)

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

Return Value

An ordered enumerable

See Also


EnumerableExtensions.OrderByMany<T> method (2 of 3)

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

See Also


EnumerableExtensions.OrderByMany<T> method (3 of 3)

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

See Also