EnumerableExt ClassIEnumerable<T> extensions.
Inheritance Hierarchy
System.Object
UltimateXR.Extensions.System.Collections.EnumerableExt
Namespace: UltimateXR.Extensions.System.Collections
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static class EnumerableExt
The EnumerableExt type exposes the following members.
Methods
Name | Description | |
---|---|---|
ForEach(TIn) | Applies an Action on all elements in a collection. | |
ForEachAsync(TIn)(IEnumerable(TIn), Func(TIn, Task)) | Asynchronously applies a function on all elements in a collection. | |
ForEachAsync(TIn, TOut)(IEnumerable(TIn), Func(TIn, Task(TOut))) | Asynchronously applies a function to all elements in a collection. | |
ForEachThreaded(TIn)(IEnumerable(TIn), Action(TIn)) | Asynchronously applies an action on all elements in a collection. | |
ForEachThreaded(TIn, TOut)(IEnumerable(TIn), Func(TIn, TOut)) | Asynchronously applies a function on all elements in a collection. | |
MaxBy(TSource, TKey)(IEnumerable(TSource), Func(TSource, TKey)) | Returns the maximal element of the given sequence, based on the given projection. | |
MaxBy(TSource, TKey)(IEnumerable(TSource), Func(TSource, TKey), IComparer(TKey)) | Returns the maximal element of the given sequence, based on the given projection and the specified comparer for projected values. | |
RandomElement(TIn) | Returns a random element from the collection. | |
SplitCamelCase | Splits a list of strings using CamelCase. |