Class GroupAttribute
Marks this class as a command group.
Inheritance
System.Object
System.Attribute
GroupAttribute
Namespace: DisCatSharp.CommandsNext.Attributes
Assembly: DisCatSharp.CommandsNext.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public sealed class GroupAttribute : Attribute
Constructors
| Improve this Doc View SourceGroupAttribute()
Marks this class as a command group, using the class' name as group name.
Declaration
public GroupAttribute()
GroupAttribute(String)
Marks this class as a command group with specified name.
Declaration
public GroupAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of this group. |
Properties
| Improve this Doc View SourceName
Gets the name of this group.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |