using System; namespace SabreTools.Core { /// /// Maps a set of strings to an enum value /// [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] public class MappingAttribute : Attribute { /// /// Set of mapping strings /// public string[] Mappings { get; private set; } /// /// Constructor /// public MappingAttribute(params string[] mappings) { this.Mappings = mappings; } } }