Search Results for

    Show / Hide Table of Contents

    Class PreconditionResult

    Inheritance
    System.Object
    PreconditionResult
    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.Preconditions
    Assembly: TelegramModularFramework.dll
    Syntax
    public class PreconditionResult

    Properties

    | Improve this Doc View Source

    ErrorReason

    Declaration
    public string ErrorReason { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Success

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

    Methods

    | Improve this Doc View Source

    FromError(String)

    Declaration
    public static PreconditionResult FromError(string errorReason)
    Parameters
    Type Name Description
    System.String errorReason
    Returns
    Type Description
    PreconditionResult
    | Improve this Doc View Source

    FromSuccess()

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