Table of Contents

Interface IResult<TValue>

Namespace
FunctionalDdd
Assembly
FunctionalDdd.RailwayOrientedProgramming.dll

Generic interface for result types, providing typed access to the success value.

public interface IResult<TValue> : IResult

Type Parameters

TValue

The type of the success value.

Inherited Members
Extension Methods

Remarks

This interface extends IResult to add strongly-typed access to the success value.

Properties

Value

Gets the success value if this result represents success.

TValue Value { get; }

Property Value

TValue

The value of type TValue.

Exceptions

InvalidOperationException

Thrown when accessed on a failed result.