using System; namespace Opsoft.NetCore.O3App.Shared { [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class ServiceConfiguratorAttribute : Attribute { public Type ServiceConfiguratorType { get; } public ServiceConfiguratorAttribute(Type configuratorType) { ServiceConfiguratorType = Guard.ArgumentNotNullAndAssignableFrom(configuratorType, typeof(IServiceConfigurator), "configuratorType"); } } }