Search Results for

    Show / Hide Table of Contents

    Operator Implicit

    | Improve this Doc View Source

    Implicit(Result to Result<T>)

    Converts an instance of type Result to Result<T>.

    Declaration
    public static implicit operator Result<T>(Result result)
    Parameters
    Type Name Description
    Result result

    An instance of type Result.

    Returns
    Type Description
    Result<T>
    | Improve this Doc View Source

    Implicit(T to Result<T>)

    Converts the value of type T to an instance of type Result<T>.

    Declaration
    public static implicit operator Result<T>(T value)
    Parameters
    Type Name Description
    T value

    An instance of type T that represents the value.

    Returns
    Type Description
    Result<T>
    | Improve this Doc View Source

    Implicit(Result<T> to T)

    Converts an instance of type Result<T> to the value of type T.

    Declaration
    public static implicit operator T(Result<T> result)
    Parameters
    Type Name Description
    Result<T> result

    An instance of type Result<T>.

    Returns
    Type Description
    T
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2023 SimpleResults