Operator implicit operator
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
implicit operator ExtRunnerKey((int RunnerNumber, string ActiveSessionId, int Generation))
Converts a tuple of a runner number(int), an ActiveSession identifier (string) and a genration number (int) to an ExtRunnerKey value.
public static implicit operator ExtRunnerKey((int RunnerNumber, string ActiveSessionId, int Generation) Value)
Parameters
Value
(int RunnerNumber, string ActiveSessionId, int Generation)The tuple to be converted.
Returns
- ExtRunnerKey
The result of the conversion.
implicit operator ExtRunnerKey((IActiveSession ActiveSession, int RunnerNumber))
Converts a tuple of an ActiveSession reference(IActiveSession) and a runner number (int) to an ExtRunnerKey value.
public static implicit operator ExtRunnerKey((IActiveSession ActiveSession, int RunnerNumber) Value)
Parameters
Value
(IActiveSession ActiveSession, int RunnerNumber)The tuple to be converted.
Returns
- ExtRunnerKey
The result of the conversion.