-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Collections_EnumerableExtensions
Andrew Koryavchenko edited this page Jun 17, 2018
·
14 revisions
Extensions for IEnumerable(T)
System.Object
CodeJam.Collections.EnumerableExtensions
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static class EnumerableExtensions
VB
<ExtensionAttribute>
Public NotInheritable Class EnumerableExtensions
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type EnumerableExtensions = class end
The EnumerableExtensions type exposes the following members.
Name | Description | |
---|---|---|
AggregateOrDefault(TSource)(IEnumerable(TSource), Func(TSource, TSource, TSource), Func(TSource)) | Applies an accumulator function over a sequence. | |
AggregateOrDefault(TSource)(IEnumerable(TSource), Func(TSource, TSource, TSource), TSource) | Applies an accumulator function over a sequence. | |
AggregateOrDefault(TSource, TAccumulate)(IEnumerable(TSource), TAccumulate, Func(TAccumulate, TSource, TAccumulate), Func(TAccumulate)) | Applies an accumulator function over a sequence. | |
AggregateOrDefault(TSource, TAccumulate)(IEnumerable(TSource), TAccumulate, Func(TAccumulate, TSource, TAccumulate), TAccumulate) | Applies an accumulator function over a sequence. | |
AggregateOrDefault(TSource, TAccumulate, TResult)(IEnumerable(TSource), TAccumulate, Func(TAccumulate, TSource, TAccumulate), Func(TAccumulate, TResult), Func(TResult)) | Applies an accumulator function over a sequence. | |
AggregateOrDefault(TSource, TAccumulate, TResult)(IEnumerable(TSource), TAccumulate, Func(TAccumulate, TSource, TAccumulate), Func(TAccumulate, TResult), TResult) | Applies an accumulator function over a sequence. | |
AsArray(T) | Casts the specified sequence to array if possible, or creates an array from. | |
AsList(T) | Casts the specified sequence to List(T) if possible, or creates a List(T) from. | |
CombineWithNext(T, TResult) | Combines item with next value from the sequence. | |
CombineWithPrevious(T, TResult)(IEnumerable(T), Func(T, T, TResult)) | Combines item with previous value from the sequence. | |
CombineWithPrevious(T, TResult)(IEnumerable(T), T, Func(T, T, TResult)) | Combines item with previous value from the sequence. | |
Concat(T)(IEnumerable(T), T) | Appends specified element to end of the collection. | |
Concat(T)(IEnumerable(T), T[]) | Appends specified elements to end of the collection. | |
DistinctBy(TSource, TKey)(IEnumerable(TSource), Func(TSource, TKey)) | Returns a sequence with distinct elements from the input sequence based on the specified key. | |
DistinctBy(TSource, TKey)(IEnumerable(TSource), Func(TSource, TKey), IEqualityComparer(TKey)) | Returns a sequence with distinct elements from the input sequence based on the specified key and key comparer. | |
ExceptBy(TSource, TKey)(IEnumerable(TSource), IEnumerable(TSource), Func(TSource, TKey)) | Produces the set difference of two sequences by using the specified key to compare values. | |
ExceptBy(TSource, TKey)(IEnumerable(TSource), IEnumerable(TSource), Func(TSource, TKey), IEqualityComparer(TKey)) | Produces the set difference of two sequences by using the specified key and IEqualityComparer(T) to compare values. | |
FirstOrDefault(T)(IEnumerable(T), T) | Returns first element, or specified defaultValue, if sequence is empty. | |
FirstOrDefault(T)(IEnumerable(T), T, Func(T, Boolean)) | Returns the first element of the sequence that satisfies a condition or a specified defaultValue if no such element is found. | |
Flatten(T) | Returns a flattened sequence from a graph or hierarchy of elements by using the specified children selector. | |
GroupTopoSort(T)(ICollection(T), Func(T, IEnumerable(T))) | Performs topological sort on source. | |
GroupTopoSort(T)(IEnumerable(T), Func(T, IEnumerable(T))) | Performs topological sort on source. | |
GroupTopoSort(T)(ICollection(T), Func(T, IEnumerable(T)), IEqualityComparer(T)) | Performs topological sort on source. | |
GroupTopoSort(T)(IEnumerable(T), Func(T, IEnumerable(T)), IEqualityComparer(T)) | Performs topological sort on source. | |
GroupWhile(T) | Groups items in the sequence while they have same grouping key. | |
GroupWhileEquals(T, TKey)(IEnumerable(T), Func(T, TKey)) | Groups items in the sequence while they have same grouping key. | |
GroupWhileEquals(T, TKey)(IEnumerable(T), Func(T, TKey), IEqualityComparer(TKey)) | Groups items in the sequence while they have same grouping key. | |
GroupWhileEquals(T, TItem, TKey)(IEnumerable(T), Func(T, TKey), Func(T, TItem)) | Groups items in the sequence while they have same grouping key. | |
GroupWhileEquals(T, TItem, TKey)(IEnumerable(T), Func(T, TKey), Func(T, TItem), IEqualityComparer(TKey)) | Groups items in the sequence while they have same grouping key. | |
IntersectBy(TSource, TKey)(IEnumerable(TSource), IEnumerable(TSource), Func(TSource, TKey)) | Produces the set intersection of two sequences by using the specified key to compare values. | |
IntersectBy(TSource, TKey)(IEnumerable(TSource), IEnumerable(TSource), Func(TSource, TKey), IEqualityComparer(TKey)) | Produces the set intersection of two sequences by using the specified key and IEqualityComparer(T) to compare values. | |
IsFirst(TSource)(IEnumerable(TSource), TSource) | Checks, if item is first element of source. | |
IsFirst(TSource)(IEnumerable(TSource), TSource, IEqualityComparer(TSource)) | Checks, if item is first element of source. | |
IsLast(TSource)(IEnumerable(TSource), TSource) | Checks, if item is last element of source. | |
IsLast(TSource)(IEnumerable(TSource), TSource, IEqualityComparer(TSource)) | Checks, if item is last element of source. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Byte)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Decimal)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Double)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Int16)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Int32)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Int64)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Byte))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Decimal))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Double))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int16))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int32))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int64))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(SByte))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Single))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt16))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt32))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt64))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, SByte)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, Single)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, UInt16)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, UInt32)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource)(IEnumerable(TSource), Func(TSource, UInt64)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxBy(TSource, TValue)(IEnumerable(TSource), Func(TSource, TValue)) | Invokes a selector on each element of a source and returns the item with maximum value. | |
MaxBy(TSource, TValue)(IEnumerable(TSource), Func(TSource, TValue), IComparer(TValue)) | Invokes a selector on each element of a source and returns the item with maximum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Byte), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Decimal), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Double), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Int16), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Int32), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Int64), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Byte)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Decimal)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Double)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int16)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int32)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int64)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(SByte)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Single)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt16)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt32)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt64)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, SByte), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Single), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, UInt16), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, UInt32), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, UInt64), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MaxByOrDefault(TSource, TValue)(IEnumerable(TSource), Func(TSource, TValue), TSource) | Invokes a selector on each element of a source and returns the item with maximum value. | |
MaxByOrDefault(TSource, TValue)(IEnumerable(TSource), Func(TSource, TValue), IComparer(TValue), TSource) | Invokes a selector on each element of a source and returns the item with maximum value. | |
MaxOrDefault(TSource)(IEnumerable(TSource)) | Returns maximum item from the sequence or default value. | |
MaxOrDefault(TSource)(IEnumerable(TSource), IComparer(TSource)) | Returns maximum item from the sequence or default value. | |
MaxOrDefault(TSource)(IEnumerable(TSource), TSource) | Returns maximum item from the sequence or default value. | |
MaxOrDefault(TSource)(IEnumerable(TSource), IComparer(TSource), TSource) | Returns maximum item from the sequence or default value. | |
MaxOrDefault(TSource, T)(IEnumerable(TSource), Func(TSource, T)) | Returns maximum item from the sequence or default value. | |
MaxOrDefault(TSource, T)(IEnumerable(TSource), Func(TSource, T), IComparer(T)) | Returns maximum item from the sequence or default value. | |
MaxOrDefault(TSource, T)(IEnumerable(TSource), Func(TSource, T), T) | Returns maximum item from the sequence or default value. | |
MaxOrDefault(TSource, T)(IEnumerable(TSource), Func(TSource, T), IComparer(T), T) | Returns maximum item from the sequence or default value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Byte)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Decimal)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Double)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Int16)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Int32)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Int64)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Byte))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Decimal))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Double))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int16))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int32))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int64))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(SByte))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Single))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt16))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt32))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt64))) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, SByte)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, Single)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, UInt16)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, UInt32)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource)(IEnumerable(TSource), Func(TSource, UInt64)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource, TValue)(IEnumerable(TSource), Func(TSource, TValue)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinBy(TSource, TValue)(IEnumerable(TSource), Func(TSource, TValue), IComparer(TValue)) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Byte), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Decimal), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Double), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Int16), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Int32), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Int64), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Byte)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Decimal)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Double)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int16)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int32)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Int64)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(SByte)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(Single)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt16)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt32)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Nullable(UInt64)), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, SByte), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, Single), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, UInt16), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, UInt32), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource)(IEnumerable(TSource), Func(TSource, UInt64), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource, TValue)(IEnumerable(TSource), Func(TSource, TValue), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinByOrDefault(TSource, TValue)(IEnumerable(TSource), Func(TSource, TValue), IComparer(TValue), TSource) | Invokes a selector on each element of a source and returns the item with minimum value. | |
MinOrDefault(TSource)(IEnumerable(TSource)) | Returns minimum item from the sequence or default value. | |
MinOrDefault(TSource)(IEnumerable(TSource), IComparer(TSource)) | Returns minimum item from the sequence or default value. | |
MinOrDefault(TSource)(IEnumerable(TSource), TSource) | Returns minimum item from the sequence or default value. | |
MinOrDefault(TSource)(IEnumerable(TSource), IComparer(TSource), TSource) | Returns minimum item from the sequence or default value. | |
MinOrDefault(TSource, T)(IEnumerable(TSource), Func(TSource, T)) | Returns minimum item from the sequence or default value. | |
MinOrDefault(TSource, T)(IEnumerable(TSource), Func(TSource, T), IComparer(T)) | Returns minimum item from the sequence or default value. | |
MinOrDefault(TSource, T)(IEnumerable(TSource), Func(TSource, T), T) | Returns minimum item from the sequence or default value. | |
MinOrDefault(TSource, T)(IEnumerable(TSource), Func(TSource, T), IComparer(T), T) | Returns minimum item from the sequence or default value. | |
OrderBy(TSource) | Sorts the elements of a sequence in ascending order. | |
OrderByDescending(TSource) | Sorts the elements of a sequence in descending order. | |
Page(T) | Extracts pageSize elements from a sequence at a particular one-based page number. | |
Prepend(T)(IEnumerable(T), T) | Prepends specified element to the collection start. | |
Prepend(T)(IEnumerable(T), T[]) | Prepends specified elements to the collection start. | |
SelectMany(TSource) | Projects each element of a sequence to an IEnumerable(T) and flattens the resulting sequences into one sequence. | |
SkipLast(T) | Skips a specified number of contiguous elements from the end of a sequence. | |
Slice(T) | Extracts count elements from a sequence at a particular zero-based starting index. | |
Split(T) | Splits the input sequence into a sequence of chunks of the specified size. | |
TakeLast(T) | Returns a specified number of contiguous elements from the end of a sequence. | |
ToDictionary(T, TKey)(IEnumerable(T), Func(T, TKey), DictionaryDuplicate) | Creates a Dictionary(TKey, TValue) from an IEnumerable(T) according to a specified key selector function and a duplicate handling policy. | |
ToDictionary(T, TKey)(IEnumerable(T), Func(T, TKey), IEqualityComparer(TKey), DictionaryDuplicate) | Creates a Dictionary(TKey, TValue) from an IEnumerable(T) according to a specified key selector function, a comparer and a duplicate handling policy. | |
ToDictionary(T, TKey, TElement)(IEnumerable(T), Func(T, TKey), Func(T, TElement), DictionaryDuplicate) | Creates a Dictionary(TKey, TValue) from an IEnumerable(T) according to a specified key selector function, an element selector function and a duplicate handling policy. | |
ToDictionary(T, TKey, TElement)(IEnumerable(T), Func(T, TKey), Func(T, TElement), IEqualityComparer(TKey), DictionaryDuplicate) | Creates a Dictionary(TKey, TValue) from an IEnumerable(T) according to a specified key selector function, an element selector function, a comparer and a duplicate handling policy. | |
ToHashSet(T)(IEnumerable(T)) | Creates a HashSet(T) from an IEnumerable(T). | |
ToHashSet(T)(IEnumerable(T), IEqualityComparer(T)) | Creates a HashSet(T) from an IEnumerable(T) with the specified equality comparer. | |
ToHashSet(T, TKey)(IEnumerable(T), Func(T, TKey)) | Creates a HashSet(T) from an IEnumerable(T). | |
ToHashSet(T, TKey)(IEnumerable(T), Func(T, TKey), IEqualityComparer(TKey)) | Creates a HashSet(T) from an IEnumerable(T) with the specified equality comparer. | |
TopoSort(T)(ICollection(T), Func(T, IEnumerable(T))) | Performs topological sort on source. | |
TopoSort(T)(IEnumerable(T), Func(T, IEnumerable(T))) | Performs topological sort on source. | |
TopoSort(T)(ICollection(T), Func(T, IEnumerable(T)), IEqualityComparer(T)) | Performs topological sort on source. | |
TopoSort(T)(IEnumerable(T), Func(T, IEnumerable(T)), IEqualityComparer(T)) | Performs topological sort on source. | |
TopoSort(T, TKey)(ICollection(T), Func(T, IEnumerable(T)), Func(T, TKey)) | Performs topological sort on source. | |
TopoSort(T, TKey)(IEnumerable(T), Func(T, IEnumerable(T)), Func(T, TKey)) | Performs topological sort on source. | |
TopoSort(T, TKey)(ICollection(T), Func(T, IEnumerable(T)), Func(T, TKey), IEqualityComparer(TKey)) | Performs topological sort on source. | |
TopoSort(T, TKey)(IEnumerable(T), Func(T, IEnumerable(T)), Func(T, TKey), IEqualityComparer(TKey)) | Performs topological sort on source. | |
ToStrings(T) | Returns string representations of source items. | |
Union(T) | Produces the set union of two sequences by using the default equality comparer. | |
UnionBy(TSource, TKey)(IEnumerable(TSource), IEnumerable(TSource), Func(TSource, TKey)) | Produces the set union of two sequences by using the specified key to compare values. | |
UnionBy(TSource, TKey)(IEnumerable(TSource), IEnumerable(TSource), Func(TSource, TKey), IEqualityComparer(TKey)) | Produces the set union of two sequences by using the specified key and IEqualityComparer(T) to compare values. | |
WithIndex(T) | Associates an index to each element of the source sequence. |