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 SourceStateHandlerAttribute()
Declaration
public StateHandlerAttribute()
StateHandlerAttribute(Boolean)
Declaration
public StateHandlerAttribute(bool parseArgs = false)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | parseArgs |
Properties
| Improve this Doc View SourceParseArgs
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 |