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

NameDescription
Public methodStatic memberForEach(TIn) Applies an Action on all elements in a collection.
Public methodStatic memberForEachAsync(TIn)(IEnumerable(TIn), Func(TIn, Task)) Asynchronously applies a function on all elements in a collection.
Public methodStatic memberForEachAsync(TIn, TOut)(IEnumerable(TIn), Func(TIn, Task(TOut))) Asynchronously applies a function to all elements in a collection.
Public methodStatic memberForEachThreaded(TIn)(IEnumerable(TIn), Action(TIn)) Asynchronously applies an action on all elements in a collection.
Public methodStatic memberForEachThreaded(TIn, TOut)(IEnumerable(TIn), Func(TIn, TOut)) Asynchronously applies a function on all elements in a collection.
Public methodStatic memberMaxBy(TSource, TKey)(IEnumerable(TSource), Func(TSource, TKey)) Returns the maximal element of the given sequence, based on the given projection.
Public methodStatic memberMaxBy(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.
Public methodStatic memberRandomElement(TIn) Returns a random element from the collection.
Public methodStatic memberSplitCamelCase Splits a list of strings using CamelCase.

See Also

Reference

UltimateXR.Extensions.System.Collections Namespace