Search Results for

    Show / Hide Table of Contents

    Class StateHandlerAttribute

    Registers method as state handler of current state module.

    Inheritance
    System.Object
    StateHandlerAttribute
    Namespace: TelegramModularFramework.Modules
    Assembly: TelegramModularFramework.dll
    Syntax
    public class StateHandlerAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    StateHandlerAttribute()

    Declaration
    public StateHandlerAttribute()
    | Improve this Doc View Source

    StateHandlerAttribute(Boolean)

    Declaration
    public StateHandlerAttribute(bool parseArgs = false)
    Parameters
    Type Name Description
    System.Boolean parseArgs

    Properties

    | Improve this Doc View Source

    ParseArgs

    If args parsed method receives args as command else receives single string argument.

    Declaration
    public bool ParseArgs { get; set; }
    Property Value
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top
    TelegramModularFramework (c) 2022-2022
    ☀
    ☾