namespace StrategyPattern.Enumerations { public static class EventEnumerations { public enum CustomerType { [DiscountTypeAttribute(typeof(NullDiscountStrategy))] Standard, [DiscountTypeAttribute(typeof(StudentDiscountStrategy))] Student, [DiscountTypeAttribute(typeof(NotForProfitDiscountStrategy))] NotForProfit, [DiscountTypeAttribute(typeof(GroupDiscountStrategy))] Group } } } //in another class you can define the attribute: namespace StrategyPattern.Attributes { public class DiscountTypeAttribute : Attribute { public Type DiscountStrategy { get; set; } public DiscountTypeAttribute(Type discountStrategy) { DiscountStrategy = discountStrategy; } } }