Example #1
0
 public void AddService(Type serviceType)
 {
     Responder.AddCommonService(serviceType, () => ServiceRegistry.Get(serviceType));
     if (serviceType.HasCustomAttributeOfType(out ServiceSubdomainAttribute attr))
     {
         ServiceSubdomains.Add(attr);
     }
 }