Interface IResultMonad<T>
Represents Result monad where error is represented by the exception.
Inherited Members
Namespace: DotNext
Assembly: DotNext.dll
Syntax
public interface IResultMonad<T> : IResultMonad<T, Exception>, IOptionMonad<T>, ISupplier<object?>, IFunctional
Type Parameters
| Name | Description |
|---|---|
| T | The type of the result. |
Properties
View SourceValue
Gets the value of the monad.
Declaration
T Value { get; }
Property Value
| Type | Description |
|---|---|
| T |
Exceptions
| Type | Condition |
|---|---|
| Exception | The underlying exception is thrown. |