Method CreateRunner
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
CreateRunner<TRequest, TResult>(TRequest, HttpContext)
A method used to create a new runner
KeyedRunner<TResult> CreateRunner<TRequest, TResult>(TRequest Request, HttpContext Context)
Parameters
RequestTRequestData to be passed as a parameter to the runner's constructor to create the runner.
ContextHttpContextContext of the HTTP request from a handler of which the method is called.
Returns
- KeyedRunner<TResult>
A structure that contains the reference to the new runner and its number within the active session.
Type Parameters
TRequestType of the data used to create a new runner.
TResultType of the result, returned by the runner.
Remarks
Context parameter is used here just for tracing purposes