using System; namespace axXez.TS3.Bot { /// /// Overrides the name used to address a command parameter by name (e.g. -paramName value). /// When omitted, the C# parameter name is used. /// [AttributeUsage(AttributeTargets.Parameter)] public class CommandParamAttribute : Attribute { /// The name used to address this parameter by name on the command line, e.g. -name value. public string Name { get; } /// Initializes the attribute with the given parameter name. public CommandParamAttribute(string name) { Name = name; } } }