AsyncEnumerableGenerateTState, TResult Method |
Namespace: System.LinqAssembly: System.Interactive.Async (in System.Interactive.Async.dll) Version: 1.2.0.0
Syntaxpublic 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