namespace Spectre.Console.Cli; /// /// Indicates that a "Description" feature should display its localization description. /// [AttributeUsage(AttributeTargets.Property | AttributeTargets.Class)] public class LocalizationAttribute : Attribute { /// /// Gets or Sets a strongly-typed resource class, for looking up localized strings, etc. /// public Type ResourceClass { get; set; } /// /// Initializes a new instance of the class. /// /// /// The type of the resource manager. /// public LocalizationAttribute(Type resourceClass) { ResourceClass = resourceClass; } }