Click or drag to resize
AsyncEnumerableGenerateTState, TResult Method

Namespace: System.Linq
Assembly: System.Interactive.Async (in System.Interactive.Async.dll) Version: 1.2.0.0
Syntax
C#
public static IAsyncEnumerable<TResult> Generate<TState, TResult>(
	TState initialState,
	Func<TState, bool> condition,
	Func<TState, TState> iterate,
	Func<TState, TResult> resultSelector
)

Parameters

initialState
Type: TState
condition
Type: SystemFuncTState, Boolean
iterate
Type: SystemFuncTState, TState
resultSelector
Type: SystemFuncTState, TResult

Type Parameters

TState
TResult

Return Value

Type: IAsyncEnumerableTResult
See Also