Lean  $LEAN_TAG$
QuantConnect.Util.EnumeratorExtensions Class Reference

Provides convenience of linq extension methods for IEnumerator<T> types More...

Static Public Member Functions

static IEnumerator< T > Where< T > (this IEnumerator< T > enumerator, Func< T, bool > predicate)
 Filter the enumerator using the specified predicate More...
 
static IEnumerator< TResult > Select< T, TResult > (this IEnumerator< T > enumerator, Func< T, TResult > selector)
 Project the enumerator using the specified selector More...
 
static IEnumerator< TResult > SelectMany< T, TResult > (this IEnumerator< T > enumerator, Func< T, IEnumerator< TResult >> selector)
 Project the enumerator using the specified selector More...
 

Detailed Description

Provides convenience of linq extension methods for IEnumerator<T> types

Definition at line 24 of file EnumeratorExtensions.cs.

Member Function Documentation

◆ Where< T >()

static IEnumerator<T> QuantConnect.Util.EnumeratorExtensions.Where< T > ( this IEnumerator< T >  enumerator,
Func< T, bool >  predicate 
)
static

Filter the enumerator using the specified predicate

Definition at line 29 of file EnumeratorExtensions.cs.

◆ Select< T, TResult >()

static IEnumerator<TResult> QuantConnect.Util.EnumeratorExtensions.Select< T, TResult > ( this IEnumerator< T >  enumerator,
Func< T, TResult >  selector 
)
static

Project the enumerator using the specified selector

Definition at line 46 of file EnumeratorExtensions.cs.

◆ SelectMany< T, TResult >()

static IEnumerator<TResult> QuantConnect.Util.EnumeratorExtensions.SelectMany< T, TResult > ( this IEnumerator< T >  enumerator,
Func< T, IEnumerator< TResult >>  selector 
)
static

Project the enumerator using the specified selector

Definition at line 60 of file EnumeratorExtensions.cs.


The documentation for this class was generated from the following file: