Пример #1
0
 public ILocatorConfigSpec Register <Service>(Func <Service> implimentation) where Service : class => Push(SMConfig.Create(implimentation));
Пример #2
0
 public ILocatorConfigSpec Register(Type service, Func <object> creator) => Push(SMConfig.Create(service, creator));
Пример #3
0
 public IConfigSpec Register <Service, Implimentation>() where Implimentation : class, Service where Service : class => Push(SMConfig.Create <Service, Implimentation>());
Пример #4
0
 public IConfigSpec Register(Type service, Type impl) => Push(SMConfig.Create(service, impl));