using System; namespace QFSW.QC { /// Provides a command paremeter with a description. [AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] public sealed class CommandParameterDescriptionAttribute : Attribute { public readonly string Description; public readonly bool Valid; public CommandParameterDescriptionAttribute(string description) { Description = description; Valid = !string.IsNullOrWhiteSpace(description); } } }