Exemplo n.º 1
0
 public void AddService(Type serviceType)
 {
     Responder.AddCommoneService(serviceType, () => ServiceRegistry.Get(serviceType));
     if (serviceType.HasCustomAttributeOfType(out ServiceSubdomainAttribute attr))
     {
         ServiceSubdomains.Add(attr);
     }
 }