Interface IResultBase<TValue>

Namespace
REslava.Result
Assembly
REslava.Result.dll

Generic contract for a typed result — extends IResultBase with access to the successful value.

public interface IResultBase<out TValue> : IResultBase

Type Parameters

TValue

The type of the value carried on success.

Inherited Members
Extension Methods

Properties

Value

Gets the successful value, or null if the result has failed. Always check IsSuccess before accessing, or use GetValueOr() for a null-safe alternative.

TValue? Value { get; }

Property Value

TValue