Table of Contents

Class ResultType

Namespace
ZeroC.Slice.Symbols
Assembly
ZeroC.Slice.Symbols.dll

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

TypeRef

FailureTypeIsOptional

Gets a value indicating whether the failure type is optional.

public required bool FailureTypeIsOptional { get; init; }

Property Value

bool

SuccessType

Gets the type of the success value in the result.

public required TypeRef SuccessType { get; init; }

Property Value

TypeRef

SuccessTypeIsOptional

Gets a value indicating whether the success type is optional.

public required bool SuccessTypeIsOptional { get; init; }

Property Value

bool