IEnumerable<T> Interface
Exposes the enumerator, which supports a simple iteration over a collection of a specified type.
Spring.Collections.IEnumerable
Spring.Collections.IEnumerable<T>
Spring.Collections.Base.TEnumerableBase<T>
Spring.Collections.ICollection<T>
Spring.Collections.IGrouping<TKey,TElement>
Spring.Collections.ILookup<TKey,TElement>
Spring.Collections.IQueue<T>
Spring.Collections.IReadOnlyCollection<T>
Spring.Collections.IStack<T>
type IEnumerable<T> = interface(IEnumerable) ['{A6B46D30-5B0F-495F-B7EC-46FBC5A75D24}'] end;
Type Parameters
- T
- The type of objects to enumerate.
The IEnumerable<T> type exposes the following members.
Name | Description | |
---|---|---|
Comparer | Gets the assigned comparer. If not comparer was assigned it returns the default comparer. | |
Count | Returns the number of elements in a sequence. (Inherited from IEnumerable.) | |
ElementType | Returns the type of the elements in the sequence. (Inherited from IEnumerable.) | |
IsEmpty | Determines whether the sequence contains no elements. (Inherited from IEnumerable.) |
Name | Description | |
---|---|---|
Aggregate(TFunc) | Applies an accumulator function over a sequence. | |
All(TPredicate<T>) | Determines whether all elements of a sequence satisfy a condition. | |
Any | Overloaded. Determines whether a sequence contains any elements. | |
Any(TPredicate<T>) | Overloaded. Determines whether any element of a sequence satisfies a condition. | |
AsObject | Returns the reference to this instance. (Inherited from IEnumerable.) | |
Concat(IEnumerable<T>) | Overloaded. Concatenates two sequences. | |
Contains(T) | Overloaded. Determines whether a sequence contains a specified element by using the default equality comparer. | |
Contains(T,IEqualityComparer) | Overloaded. Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>. | |
Contains(T,TEqualityComparison) | Overloaded. Represents method | |
ElementAt(Integer) | Returns the element at a specified index in a sequence. | |
ElementAtOrDefault(Integer) | Overloaded. Returns the element at a specified index in a sequence or a default value if the index is out of range. | |
ElementAtOrDefault(Integer,T) | Overloaded. Returns the element at a specified index in a sequence or the specified default value if the index is out of range. | |
EqualsTo(IEnumerable<T>) | Overloaded. Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type. | |
EqualsTo(IEnumerable<T>,IEqualityComparer) | Overloaded. Determines whether two sequences are equal by comparing their elements by using a specified | |
EqualsTo(T[]) | Overloaded. Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type. | |
First | Overloaded. Returns the first element of a sequence. | |
First(TPredicate<T>) | Overloaded. Returns the first element in a sequence that satisfies a specified condition. | |
FirstOrDefault | Overloaded. Returns the first element of a sequence, or a default value if the sequence contains no elements. | |
FirstOrDefault(T) | Overloaded. Returns the first element of a sequence, or the specified default value if the sequence contains no elements. | |
FirstOrDefault(TPredicate<T>) | Overloaded. Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. | |
FirstOrDefault(TPredicate<T>,T) | Overloaded. Returns the first element of the sequence that satisfies a condition or the specified default value if no such element is found. | |
ForEach(TAction<T>) | Performs the specified action on each element of a sequence. | |
GetComparer | Returns the specified comparer for this instance. | |
GetCount | Represents method | |
GetElementType | Represents method | |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
GetIsEmpty | Represents method | |
Last | Overloaded. Returns the last element of a sequence. | |
Last(TPredicate<T>) | Overloaded. Returns the last element of a sequence that satisfies a specified condition. | |
LastOrDefault | Overloaded. Returns the last element of a sequence, or a default value if the sequence contains no elements. | |
LastOrDefault(T) | Overloaded. Returns the last element of a sequence, or the specified default value if the sequence contains no elements. | |
LastOrDefault(TPredicate<T>) | Overloaded. Returns the last element of a sequence that satisfies a condition or a default value if no such element is found. | |
LastOrDefault(TPredicate<T>,T) | Overloaded. Returns the last element of a sequence that satisfies a condition or the specified default value if no such element is found. | |
Max | Overloaded. Returns the maximum value in a sequence. | |
Max(IComparer) | Overloaded. Returns the maximum value in a sequence by using the specified IComparer<T> . | |
Max(TComparison) | Overloaded. Represents method | |
Max(TFunc) | Overloaded. Represents method | |
Min | Overloaded. Returns the minimum value in a sequence. | |
Min(IComparer) | Overloaded. Returns the minimum value in a sequence by using the specified IComparer<T> . | |
Min(TComparison) | Overloaded. Represents method | |
Min(TFunc) | Overloaded. Represents method | |
Ordered | Overloaded. Sorts the elements of a sequence in ascending order using the default comparer for their type. | |
Ordered(IComparer) | Overloaded. Sorts the elements of a sequence in ascending order using the specified IComparer<T>. | |
Ordered(TComparison) | Overloaded. Represents method | |
Reversed | Inverts the order of the elements in a sequence. | |
Shuffled | Returns the sequence in a shuffled order. | |
Single | Overloaded. Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. | |
Single(TPredicate<T>) | Overloaded. Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. | |
SingleOrDefault | Overloaded. Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. | |
SingleOrDefault(T) | Overloaded. 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. | |
SingleOrDefault(TPredicate<T>) | Overloaded. Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. | |
SingleOrDefault(TPredicate<T>,T) | Overloaded. 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. | |
Skip(Integer) | Bypasses a specified number of elements in a sequence and then returns the remaining elements. | |
SkipWhile(TFunc) | Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function. | |
SkipWhile(TPredicate<T>) | Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. | |
Sum | Overloaded. Computes the sum of the sequence. | |
Take(Integer) | Returns a specified number of contiguous elements from the start of a sequence. | |
TakeWhile(TFunc) | Overloaded. Returns elements from a sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function. | |
TakeWhile(TPredicate<T>) | Overloaded. Returns elements from a sequence as long as a specified condition is true. | |
ToArray | Creates a new array which is filled with the elements in the collection. | |
TryGetFirst(T) | Overloaded. Try getting the first element in a sequence. | |
TryGetFirst(T,TPredicate<T>) | Overloaded. Try getting the first element in a sequence that satisfies a specified condition. | |
TryGetLast(T) | Overloaded. Try getting the last element in a sequence. | |
TryGetLast(T,TPredicate<T>) | Overloaded. Try getting the last element in a sequence that satisfies a specified condition. | |
TryGetSingle(T) | Overloaded. Try getting the only element in a sequence. | |
TryGetSingle(T,TPredicate<T>) | Overloaded. Try getting the only element in a sequence that satisfies a specified condition. | |
Where(TPredicate<T>) | Overloaded. Filters a sequence of values based on a predicate. |