public BootstrapperBaseTests()
        {
            DependencyContainerCreation dependencyContainerCreation = DependencyContainerFactory.Create();

            _dependencyRegistrar = dependencyContainerCreation.Registrar;
            _dependencyRetriever = dependencyContainerCreation.Retriever;
        }
示例#2
0
        protected BootstrapperBase()
        {
            DependencyContainerCreation dependencyContainerCreation = DependencyContainerFactory.Create();

            _dependencyRegistrar = dependencyContainerCreation.Registrar;
            _dependencyRetriever = dependencyContainerCreation.Retriever;

            Initialize();
        }
示例#3
0
        public ServiceFactoryTests()
        {
            DependencyContainerCreation dependencyContainerCreation = DependencyContainerFactory.Create();

            _dependencyRegistrar = dependencyContainerCreation.Registrar;

            ServiceFactoryCreation serviceFactoryCreation = ServiceFactoryFactory.Create(dependencyContainerCreation.Registrar,
                                                                                         dependencyContainerCreation.Retriever);

            _serviceFactoryRegistrar = serviceFactoryCreation.Registrar;
            _serviceFactory          = serviceFactoryCreation.Factory;
        }