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 method Static member AssertCountImpl(TSource)
Public method Static 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 method Static member Concat(T)(IEnumerable(T), T) Returns a sequence consisting of the head elements and the given tail element.
Public method Static member Concat(T)(T, IEnumerable(T)) Returns a sequence consisting of the head element and the given tail elements.
Public method Static member Exclude(T) Excludes count elements from a sequence starting at a given index
Private method Static member ExcludeImpl(T)
Private method Static member ExpectingCountYieldingImpl(TSource)
Public method Static member Fold(T, TResult)(IEnumerable(T), Func(T, TResult)) Returns the result of applying a function to a sequence of 1 element.
Public method Static member Fold(T, TResult)(IEnumerable(T), Func(T, T, TResult)) Returns the result of applying a function to a sequence of 2 elements.
Public method Static 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 method Static 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 method Static member FoldImpl(T, TResult)
Public method Static member ForEach(T) Immediately executes the given action on each element in the source sequence.
Public method Static 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 method Static 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 method Static member Materialize(T) Creates an immutable copy of a sequence.
Public method Static member Memorize(T) Captures current state of a sequence.
Private method Static member OnFolderSourceSizeError
Public method Static 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 method Static member PairwiseImpl(TSource, TResult)
Public method Static member Prepend(TSource) Prepends a single value to a sequence.
Public method Static member Tail(T) Return everything except first element and throws exception if empty.
Public method Static member TailNoFail(T) Return everything except first element without throwing exception if empty.
Public method Static 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 method Static member ToDelimitedString(TSource)(IEnumerable(TSource), String) Creates a delimited string from a sequence of values and a given delimiter.
Private method Static member ToDelimitedStringImpl(T)
Public method Static member ToMaybe(T) Turns an empty sequence to Nothing, otherwise Just(sequence).
Public method Static 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