Table of Contents

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 int

A number (key) specifying the runner to search for

Context HttpContext

Context 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