Struct RunnerResult<TResult>
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
Used to return result of a runner execution.
public record struct RunnerResult<TResult> : IEquatable<RunnerResult<TResult>>
Type Parameters
TResult
The type of the value returned in the
Result
- Implements
-
IEquatable<RunnerResult<TResult>>
- Inherited Members
Remarks
The result mentioned is returned via GetAvailable or GetAvailable metods.
Constructors
- RunnerResult(TResult, RunnerStatus, int, Exception?)
Used to return result of a runner execution.
Properties
- FailureException
Reason of the Failed status
- Position
The runner position in the moment of return
- Result
The returned value
- Status
The runner status in the moment of return
Operators
- implicit operator RunnerResult<TResult>((TResult, RunnerStatus, int))
Convert a tuple of values with appropriate types to an instance of this struct.