using System; namespace DanieleMarotta.RiversongCodeShowcase { [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public class ServiceAttribute : Attribute { public ServiceAttribute(Type serviceType = null) { ServiceType = serviceType; } public Type ServiceType { get; set; } } }