Method FetchRequiredAsync
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
FetchRequiredAsync(int, List<TItem>, CancellationToken, string)
Protected abstract.
protected abstract Task FetchRequiredAsync(int MaxAdvance, List<TItem> Result, CancellationToken Token, string TraceIdentifier)
Parameters
MaxAdvance
intThe maximum number of records to be fetched into the
Result
list.Result
List<TItem>The list holding the fetched records. May be partially filled before a call of this method.
Token
CancellationTokenA CancellationToken instance that may be used to cancel the returned task.
TraceIdentifier
string- String that can be used for tracing.
Returns
- Task
A task that represents the process of fetching.