Class GroupAttribute
Marks the module as a command group.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class GroupAttribute : Attribute
- Inheritance
-
GroupAttribute
- Inherited Members
Constructors
GroupAttribute()
Initializes a new instance of the Attribute class.
public GroupAttribute()
GroupAttribute(string)
Initializes a new GroupAttribute with the provided prefix.
public GroupAttribute(string prefix)
Parameters
prefix
stringThe prefix of the module group.
Properties
Prefix
Gets the prefix set for the module.
public string Prefix { get; }