|
- using System;
-
- namespace ExtraCommands
- {
- [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
- public class CustomCommandAttribute: Attribute
- {
- public string Name { get; protected set; }
-
- public string Description { get; protected set; }
- public CustomCommandAttribute(string name, string description = "")
- {
- this.Name = name;
- this.Description = description;
- }
- }
- }
|