Example #1
0
 public void Install(IEssexContainer container, IConfigurationStore store)
 {
     foreach (IEssexInstaller installer in this.installers)
     {
         installer.Install(container, store);
     }
 }
Example #2
0
 public void Install(IEssexContainer container, IConfigurationStore store)
 {
     foreach (IEssexInstaller installer in this.installers)
     {
         installer.Install(container, store);
     }
 }
 public void SetUp(IEssexContainer container, IConfigurationStore store)
 {
     //IConversionManager subSystem = container.Kernel.GetSubSystem(SubSystemConstants.ConversionManagerKey) as IConversionManager;
     //this.SetUpInstallers(store.GetInstallers(), container, subSystem);
     //this.SetUpFacilities(store.GetFacilities(), container, subSystem);
     //this.SetUpComponents(store.GetComponents(), container, subSystem);
     //SetUpChildContainers(store.GetConfigurationForChildContainers(), container);
 }
Example #4
0
 public void Install(IEssexContainer container, IConfigurationStore store)
 {
     IEnumerable<Type> enumerable = this.factory.Select(this.FilterInstallerTypes(this.assembly.GetExportedTypes()));
     if (enumerable != null)
     {
         foreach (Type type in enumerable)
         {
             var ci = this.factory.CreateInstance(type);
             ci.Install(container, store);
             //this.factory.CreateInstance(type).Install(container, store);
         }
     }
 }
Example #5
0
        public void Install(IEssexContainer container, IConfigurationStore store)
        {
            IEnumerable <Type> enumerable = this.factory.Select(this.FilterInstallerTypes(this.assembly.GetExportedTypes()));

            if (enumerable != null)
            {
                foreach (Type type in enumerable)
                {
                    var ci = this.factory.CreateInstance(type);
                    ci.Install(container, store);
                    //this.factory.CreateInstance(type).Install(container, store);
                }
            }
        }