Struct SuppressionUtils.SuppressResult<T>

Namespace
Datamine.MineTrustConnector.Service.Extensibility
Assembly
Datamine.MineTrustConnector.Service.Extensibility.dll

Result object indicating, for a 'suppressed' action, whether or not the underlying logic completed, and the result of the operation if it did.

public readonly record struct SuppressionUtils.SuppressResult<T> : IEquatable<SuppressionUtils.SuppressResult<T>>

Type Parameters

T

The type of the result.

Implements
Inherited Members

Constructors

SuppressResult(bool, T?)

Result object indicating, for a 'suppressed' action, whether or not the underlying logic completed, and the result of the operation if it did.

public SuppressResult(bool Completed, T? Result)

Parameters

Completed bool
Result T

Properties

Completed

public bool Completed { get; init; }

Property Value

bool

Result

public T? Result { get; init; }

Property Value

T