using System; namespace Infrastructure.Web.Mvc { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Property, AllowMultiple = true)] public sealed class AdditionalMetadataAttribute : Attribute { public AdditionalMetadataAttribute(string name, object value) { Name = name ?? throw new ArgumentNullException("name"); Value = value; } public string Name { get; private set; } public object Value { get; private set; } } }