Result<T>
public struct Result<T> : IResultMonad<T, Exception, Result<T>>, IResultMonad<T, Exception>, IOptionMonad<T>, ISupplier<object>, IFunctional<Func<object>>, IOptionMonad<T, Result<T>>
Represents a result of operation which can be actual result or exception.
Gets exception associated with this result.
Indicates that the result is successful.
Extracts the actual result.
Initializes a new successful result.
Initializes a new unsuccessful result.
Creates Result<T> from Optional<T> instance.
Indicates that both results are successful.
Extracts actual result.
Converts Optional<T> to Result<T>.
Indicates that the result represents error.
Converts the result into Optional<T>.
Converts value into the result.
Indicates that the result is successful.
Gets boxed representation of the result.
If successful result is present, apply the provided mapping function hiding any exception
caused by the converter.
Returns the value if present; otherwise return default value.
Returns the value if present; otherwise return default value.
Returns the value if present; otherwise invoke delegate.
Returns the value if present; otherwise invoke delegate.
Attempts to extract value from container if it is present.
Converts the result into Optional<T>.