Skip to content

Methods_T_CSharpx_EnumerableExtensions

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

EnumerableExtensions Methods

The EnumerableExtensions type exposes the following members.

Methods

 

Name Description
Private methodStatic member AssertCountImpl(TSource)
Public methodStatic member Cartesian(TFirst, TSecond, TResult) Returns the Cartesian product of two sequences by combining each element of the first set with each in the second and applying the user=define projection to the pair.
Public methodStatic member Concat(T)(IEnumerable(T), T) Returns a sequence consisting of the head elements and the given tail element.
Public methodStatic member Concat(T)(T, IEnumerable(T)) Returns a sequence consisting of the head element and the given tail elements.
Public methodStatic member Exclude(T) Excludes count elements from a sequence starting at a given index
Private methodStatic member ExcludeImpl(T)
Private methodStatic member ExpectingCountYieldingImpl(TSource)
Public methodStatic member Fold(T, TResult)(IEnumerable(T), Func(T, TResult)) Returns the result of applying a function to a sequence of 1 element.
Public methodStatic member Fold(T, TResult)(IEnumerable(T), Func(T, T, TResult)) Returns the result of applying a function to a sequence of 2 elements.
Public methodStatic member Fold(T, TResult)(IEnumerable(T), Func(T, T, T, TResult)) Returns the result of applying a function to a sequence of 3 elements.
Public methodStatic member Fold(T, TResult)(IEnumerable(T), Func(T, T, T, T, TResult)) Returns the result of applying a function to a sequence of 4 elements.
Private methodStatic member FoldImpl(T, TResult)
Public methodStatic member ForEach(T) Immediately executes the given action on each element in the source sequence.
Public methodStatic member Index(TSource)(IEnumerable(TSource)) Returns a sequence of KeyValuePair(TKey, TValue) where the key is the zero-based index of the value in the source sequence.
Public methodStatic member Index(TSource)(IEnumerable(TSource), Int32) Returns a sequence of KeyValuePair(TKey, TValue) where the key is the index of the value in the source sequence. An additional parameter specifies the starting index.
Public methodStatic member Materialize(T) Creates an immutable copy of a sequence.
Public methodStatic member Memorize(T) Captures current state of a sequence.
Private methodStatic member OnFolderSourceSizeError
Public methodStatic member Pairwise(TSource, TResult) Returns a sequence resulting from applying a function to each element in the source sequence and its predecessor, with the exception of the first element which is only returned as the predecessor of the second element.
Private methodStatic member PairwiseImpl(TSource, TResult)
Public methodStatic member Prepend(TSource) Prepends a single value to a sequence.
Public methodStatic member Tail(T) Return everything except first element and throws exception if empty.
Public methodStatic member TailNoFail(T) Return everything except first element without throwing exception if empty.
Public methodStatic member ToDelimitedString(TSource)(IEnumerable(TSource)) Creates a delimited string from a sequence of values. The delimiter used depends on the current culture of the executing thread.
Public methodStatic member ToDelimitedString(TSource)(IEnumerable(TSource), String) Creates a delimited string from a sequence of values and a given delimiter.
Private methodStatic member ToDelimitedStringImpl(T)
Public methodStatic member ToMaybe(T) Turns an empty sequence to Nothing, otherwise Just(sequence).
Public methodStatic member TryHead(T) Safe function that returns Just(first element) or None.
  Back to Top

See Also

Reference

EnumerableExtensions Class
CSharpx Namespace

Clone this wiki locally