Click or drag to resize

XEnumerable Methods

The XEnumerable type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAppendTSource Obsolete.
Appends the specified element to the specified sequence.
Public methodStatic memberBatchTSource
Splits the input sequence into a sequence of batches of the specified size.
Public methodStatic memberCommonPrefixTSource
Returns the common prefix of two sequences, according to the specified comparer.
Public methodStatic memberDenseRankByTSource, TKey, TResult
Associates an ascending dense rank to each element of the input sequence, based on the specified key and key comparer.
Public methodStatic memberDenseRankByDescendingTSource, TKey, TResult
Associates a descending dense rank to each element of the input sequence, based on the specified key and key comparer.
Public methodStatic memberDistinctByTSource, TKey
Returns a sequence with distinct elements from the input sequence based on the specified key and key comparer.
Public methodStatic memberDistinctUntilChangedTSource
Returns a sequence with distinct adjacent elements from the input sequence based on the specified comparer.
Public methodStatic memberDistinctUntilChangedByTSource, TKey
Returns a sequence with distinct adjacent elements from the input sequence based on the specified key and key comparer.
Public methodStatic memberElementAtOrDefaultTSource
Returns the element at a specified index in a sequence, or the specified default value if the index is out of range.
Public methodStatic memberEmptyTSource
Produces an empty sequence.
Public methodStatic memberExceptByTSource, TKey
Produces the set difference of two sequences by using the specified key and key comparer to test for equality between elements.
Public methodStatic memberFirstOrDefaultTSource(IEnumerableTSource, TSource)
Returns the first element of a sequence or the specified default value if the sequence contains no elements.
Public methodStatic memberFirstOrDefaultTSource(IEnumerableTSource, FuncTSource, Boolean, TSource)
Returns the first element of the sequence that satisfies a condition or the specied default value if no such element is found.
Public methodStatic memberFlattenTNode(IEnumerableTNode, FuncTNode, IEnumerableTNode, TreeTraversalMode)
Returns a flattened sequence from a graph or hierarchy of elements, using the specified children selector, and in the specified traversal order.
Public methodStatic memberFlattenTNode, TResult(IEnumerableTNode, FuncTNode, IEnumerableTNode, TreeTraversalMode, FuncTNode, TResult)
Returns a flattened sequence from a graph or hierarchy of elements, using the specified children selector, and in the specified traversal order.
Public methodStatic memberFlattenTNode, TResult(IEnumerableTNode, FuncTNode, IEnumerableTNode, TreeTraversalMode, FuncTNode, Int32, TResult)
Returns a flattened sequence from a graph or hierarchy of elements, using the specified children selector, and in the specified traversal order.
Public methodStatic memberFullOuterJoinTLeft, TRight, TKey, TResult
Produces the full outer join of two sequences.
Public methodStatic memberGenerateTElement(FuncInt32, TElement)
Generates a sequence from an index-based generator function.
Public methodStatic memberGenerateTElement(TElement, FuncTElement, TElement)
Generates a sequence from a seed and a generator function.
Public methodStatic memberGroupUntilChangedTSource
Groups equal adjacent elements from the input sequence based on the specified comparer.
Public methodStatic memberGroupUntilChangedByTSource, TKey
Groups adjacent elements from the input sequence that have the same value for the specified key, according to the specified key comparer.
Public methodStatic memberIndexOfTSource(IEnumerableTSource, FuncTSource, Boolean)
Returns the position of the first element of source that verifies the specified predicate, or -1 if it is not found.
Public methodStatic memberIndexOfTSource(IEnumerableTSource, TSource, IEqualityComparerTSource)
Returns the position of the first occurrence of item in the source sequence, or -1 if it is not found.
Public methodStatic memberIndexOfSubstringTSource
Returns the position of the first occurrence of the specified substring in the source sequence, or -1 if it is not found.
Public methodStatic memberIntersectByTSource, TKey
Produces the set intersection of two sequences, based on the specified key and key comparer.
Public methodStatic memberIsNullOrEmpty(IEnumerable)
Indicates whether a sequence is null or empty.
Public methodStatic memberIsNullOrEmptyTSource(IEnumerableTSource)
Indicates whether a sequence is null or empty.
Public methodStatic memberLastIndexOfTSource(IEnumerableTSource, FuncTSource, Boolean)
Returns the position of the last element of source that verifies the specified predicate, or -1 if it is not found.
Public methodStatic memberLastIndexOfTSource(IEnumerableTSource, TSource, IEqualityComparerTSource)
Returns the position of the last occurrence of item in the source sequence, or -1 if it is not found.
Public methodStatic memberLastOrDefaultTSource(IEnumerableTSource, TSource)
Returns the last element of a sequence or the specified default value if the sequence contains no elements.
Public methodStatic memberLastOrDefaultTSource(IEnumerableTSource, FuncTSource, Boolean, TSource)
Returns the last element of the sequence that satisfies a condition or the specied default value if no such element is found.
Public methodStatic memberLeftOuterJoinTLeft, TRight, TKey, TResult
Produces the left outer join of two sequences.
Public methodStatic memberMaxTSource
Returns the maximum element of the sequence according to the specified comparer.
Public methodStatic memberMaxByTSource, TKey
Returns the element of the sequence that has the maximum value for the specified key.
Public methodStatic memberMinTSource
Returns the minimum element of the sequence according to the specified comparer.
Public methodStatic memberMinByTSource, TKey
Returns the element of the sequence that has the minimum value for the specified key.
Public methodStatic memberNoneTSource(IEnumerableTSource)
Checks if the sequence is empty.
Public methodStatic memberNoneTSource(IEnumerableTSource, FuncTSource, Boolean)
Checks if the sequence contains no element that matches the predicate.
Public methodStatic memberPrependTSource Obsolete.
Prepends the specified element to the specified sequence.
Public methodStatic memberRankByTSource, TKey, TResult
Associates an ascending rank to each element of the input sequence, based on the specified key and key comparer.
Public methodStatic memberRankByDescendingTSource, TKey, TResult
Associates a descending rank to each element of the input sequence, based on the specified key and key comparer.
Public methodStatic memberRightOuterJoinTLeft, TRight, TKey, TResult
Produces the right outer join of two sequences.
Public methodStatic memberSequenceEqualByTSource, TKey
Determines whether two sequences are equal by comparing their elements using the specified key and key comparer.
Public methodStatic memberSingleOrDefaultTSource(IEnumerableTSource, TSource)
Returns the only element of a sequence, or the specified default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.
Public methodStatic memberSingleOrDefaultTSource(IEnumerableTSource, FuncTSource, Boolean, TSource)
Returns the only element of a sequence that satisfies a specified condition, or the specified default value if no such element exists; this method throws an exception if more than one element satisfies the condition.
Public methodStatic memberToArrayTSource
Creates an array from the elements in the source sequence. Unlike ToArrayTSource(IEnumerableTSource), this method takes the number of elements as a parameter, so that it can allocate an array of the right size from the start, hence suppressing the need for subsequent allocations and improving performance.
Public methodStatic memberToHashSetTSource Obsolete.
Creates a hash set from the elements in the source sequence.
Public methodStatic memberToHierarchyTSource, TId
Builds a hierarchy from a flat sequence of elements, based on an Id/ParentId relation.
Public methodStatic memberToLinkedListTSource
Creates a linked list from the elements in the source sequence.
Public methodStatic memberToListTSource
Public methodStatic memberToQueueTSource
Creates a queue from the elements in the source sequence.
Public methodStatic memberToStackTSource
Creates a stack from the elements in the source sequence.
Public methodStatic memberUnionByTSource, TKey
Produces the set union of two sequences, based on the specified key and key comparer.
Public methodStatic memberUnitTSource
Produces a sequence containing a single element.
Public methodStatic memberWithIndexTSource(IEnumerableTSource)
Associates an index to each element of the source sequence.
Public methodStatic memberWithIndexTSource(ListTSource)
Public methodStatic memberWithIndexTSource(TSource)
Associates an index to each element of the source array.
Public methodStatic memberWithoutIndexTSource
Removes the indexes from a sequence of indexed elements, returning only the elements themselves.
Top
See Also