Search Results for

    Show / Hide Table of Contents

    Class Result

    Inheritance
    System.Object
    Result
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: TelegramModularFramework.Modules
    Assembly: TelegramModularFramework.dll
    Syntax
    public class Result

    Properties

    | Improve this Doc View Source

    Exception

    Declaration
    public Exception? Exception { get; }
    Property Value
    Type Description
    System.Nullable<Exception>
    | Improve this Doc View Source

    Success

    Declaration
    public bool Success { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    FromError(Exception)

    Declaration
    public static Result FromError(Exception exception)
    Parameters
    Type Name Description
    Exception exception
    Returns
    Type Description
    Result
    | Improve this Doc View Source

    FromSuccess()

    Declaration
    public static Result FromSuccess()
    Returns
    Type Description
    Result
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top
    TelegramModularFramework (c) 2022-2022
    ☀
    ☾