Пример #1
0
 public Container(IContainerConfigurationSettings configuration)
 {
     _configuration = configuration;
     _componentConfigurationFileName = _configuration.ComponentConfigurationFileName;
     if (_container == null)
     {
         lock (this)
         {
             if (_container == null)
             {
                 CreateNewContainer();
             }
         }
     }
     _registrator = new RegisterComponent(this);
 }
Пример #2
0
 public RegisterServiceFragment(RegisterComponent registrator)
 {
     Registrator = registrator;
 }
 public RegisterComponentFluentInterface(RegisterComponent registrator)
     :base(registrator)
 {
 }
Пример #4
0
 IInstanceType IContainer.RegisterComponent()
 {
     _registrator = new RegisterComponent(this);
     return(new InstanceType(_registrator));
 }
Пример #5
0
 public RegisterComponentFluentInterface(RegisterComponent registrator)
     : base(registrator)
 {
 }