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
RunnerNumber
intA number assigned to the runner within the Active Session it belongs to.
ActiveSessionId
stringAn identifier (Id property value) of the Active Session the runner belongs to.
Generation
intThe 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