Пример #1
0
 public IRegistration <TConcrete> InstancePerNamedContainer(string containerName)
 {
     Resolver = new ResolverSingletonPerNamedContainer(typeof(TConcrete), Name, _activator, containerName);
     return(this);
 }
Пример #2
0
 public IRegistration InstancePerNamedContainer(string scopeName)
 {
     Resolver = new ResolverSingletonPerNamedContainer(ConcreteType, Name, _activator, scopeName);
     return(this);
 }