Method GetRunner
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
GetRunner<TResult>(int, HttpContext)
A method used to search for an existing runner
IRunner<TResult>? GetRunner<TResult>(int RunnerNumber, HttpContext Context)
Parameters
RunnerNumber
intA number (key) specifying the runner to search for
Context
HttpContextContext of the HTTP request from handler of which the method is called
Returns
- IRunner<TResult>
The runner with specified number and result type (IRunner<TResult>) if such a runner exists or null
Type Parameters
TResult
Type of the result, returned by the runner
Remarks
Context
parameter is used here just for tracing purposes