Class ActionAttribute
Registers method as action handler with specified name. By default name retrieved from method name in format 'Action Name'. Can be used along with CommandAttribute.
Inheritance
System.Object
ActionAttribute
Namespace: TelegramModularFramework.Modules
Assembly: TelegramModularFramework.dll
Syntax
public class ActionAttribute : Attribute
Constructors
| Improve this Doc View SourceActionAttribute()
Declaration
public ActionAttribute()
ActionAttribute(String)
Declaration
public ActionAttribute(string name = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Properties
| Improve this Doc View SourceName
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |