Exemplo n.º 1
0
 SMConfig Push(SMConfig s)
 {
     s.ToCollect  = ToCollect;
     s.Registrars = Registrars;
     s.Singletons = Singletons;
     toRegister.Push(s);
     return(s);
 }
Exemplo n.º 2
0
 public ILocatorConfigSpec Register <Service>(Func <Service> implimentation) where Service : class => Push(SMConfig.Create(implimentation));
Exemplo n.º 3
0
 public IConfigSpec Register <Service, Implimentation>() where Implimentation : class, Service where Service : class => Push(SMConfig.Create <Service, Implimentation>());
Exemplo n.º 4
0
 public ILocatorConfigSpec Register(Type service, Func <object> creator) => Push(SMConfig.Create(service, creator));
Exemplo n.º 5
0
 public IConfigSpec Register(Type service, Type impl) => Push(SMConfig.Create(service, impl));