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
RunnerNumberintA number (key) specifying the runner to search for
ContextHttpContextContext 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
TResultType of the result, returned by the runner
Remarks
Context parameter is used here just for tracing purposes