forked from Moux23333/FreeSR
14 lines
295 B
C#
14 lines
295 B
C#
|
namespace FreeSR.Shared.Command
|
|||
|
{
|
|||
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
|
|||
|
public class CommandAttribute : Attribute
|
|||
|
{
|
|||
|
public string Name { get; }
|
|||
|
|
|||
|
public CommandAttribute(string name)
|
|||
|
{
|
|||
|
Name = name;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|