Method GetAvailable
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
GetAvailable(int, int, string?)
public RunnerResult<IEnumerable<TItem>> GetAvailable(int Advance = 2147483647, int StartPosition = -1, string? TraceIdentifier = null)
Parameters
Advance
intMaximum number of items in the sequience returned in result's Result field. The default value of the parameter means that all already fetched items should be returned.StartPosition
intPosition value from which a fetch of the result should begin. Must be equal to the current runner's Position or a constant CURRENT_POSITIONTraceIdentifier
string- String that can be used for tracing.
Returns
- RunnerResult<IEnumerable<TItem>>
Fields in the structure returned as a result contains values of the properties Status and Position at the point of completion in fields with the same names and a runner-specific result in a Result field, the Result field of the returned structure contains sequence of items (of type TItem) already fetched in background, that have not been returned yet by previous GetAvailable and GetRequiredAsync calls - all or a part of them according to theAdvance
value.