Table of Contents

UnsuccessfulValue Constructor

Definition

Namespace
Cuemon
Assemblies
Cuemon.Kernel.dll
Source
src/Cuemon.Kernel/UnsuccessfulValue.cs

UnsuccessfulValue(TResult)

Initializes a new instance of the UnsuccessfulValue<TResult> class.

public UnsuccessfulValue(TResult result = default)

Parameters

result TResult

The optional value of result.

UnsuccessfulValue(Exception, TResult)

Initializes a new instance of the UnsuccessfulValue<TResult> class.

public UnsuccessfulValue(Exception failure, TResult result = default)

Parameters

failure Exception

The Exception that caused the faulted operation.

result TResult

The optional value of result.