Class ResultType
Represents the Slice built-in result type.
public class ResultType : ISymbol, IType
- Inheritance
-
ResultType
- Implements
- Inherited Members
Properties
FailureType
Gets the type of the failure value in the result.
public required TypeRef FailureType { get; init; }
Property Value
FailureTypeIsOptional
Gets a value indicating whether the failure type is optional.
public required bool FailureTypeIsOptional { get; init; }
Property Value
SuccessType
Gets the type of the success value in the result.
public required TypeRef SuccessType { get; init; }
Property Value
SuccessTypeIsOptional
Gets a value indicating whether the success type is optional.
public required bool SuccessTypeIsOptional { get; init; }