Table of Contents

Class Result<T, TError>

Namespace
Dynamicweb.Core
Assembly
Dynamicweb.Core.dll
public class Result<T, TError> where TError : struct

Type Parameters

T
TError
The Generic type TError must be an Enum type
Inheritance
Result<T, TError>
Inherited Members

Constructors

Result(T, bool, TError)

protected Result(T value, bool isSuccess, TError errorType)

Parameters

value T
isSuccess bool
errorType TError
An enum value indicating the reason for the failure

Properties

ErrorType

Exposes the error type.
public TError? ErrorType { get; }

Property Value

TError?
To top