Constructor ExtRunnerKey
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
ExtRunnerKey(int, string, int)
This struct is intended to pass a runner identifier into a code external to an ActiveSession library (e.g as a part of URL).
public ExtRunnerKey(int RunnerNumber, string ActiveSessionId, int Generation)
Parameters
RunnerNumberintA number assigned to the runner within the Active Session it belongs to.
ActiveSessionIdstringAn identifier (Id property value) of the Active Session the runner belongs to.
GenerationintThe Generation property value of the ActiveSession the runner belongs to.
Remarks
A purpose of this type is to avoid a mess if an ActiveSession assigned to different HTTP requests differs.
The string represetation of an identifier (returned by its ToString() method
and parseable by its static TryParse method) has the form