コード例 #1
0
 public void Install(IEssexContainer container, IConfigurationStore store)
 {
     foreach (IEssexInstaller installer in this.installers)
     {
         installer.Install(container, store);
     }
 }
コード例 #2
0
ファイル: CompositeInstaller.cs プロジェクト: Jedzia/BackBock
 public void Install(IEssexContainer container, IConfigurationStore store)
 {
     foreach (IEssexInstaller installer in this.installers)
     {
         installer.Install(container, store);
     }
 }
コード例 #3
0
 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);
 }
コード例 #4
0
ファイル: AssemblyInstaller.cs プロジェクト: Jedzia/BackBock
 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);
         }
     }
 }
コード例 #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);
                }
            }
        }