Table of Contents

ConditionalValue Constructor

Definition

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

ConditionalValue(bool, Exception)

Initializes a new instance of the ConditionalValue class.

protected ConditionalValue(bool succeeded, Exception failure)

Parameters

succeeded bool

Indicates whether the operation was successful or not.

failure Exception

The Exception to associate with a faulted operation.