using System; using System.ComponentModel; namespace Core.Common.Utils { /// /// Variation on , enables the description to be fetched from resources. /// /// Do not combine this with on the same item public class ResourcesDescriptionAttribute : DescriptionAttribute { public ResourcesDescriptionAttribute(Type resourceType, string resourceName) : base(ResourceHelper.GetResourceLookup(resourceType, resourceName)) {} } }