예제 #1
0
        public IocTestFixture()
        {
            var kernel = IocAutoFac.Initialize();

            Container = Ioc.Initialize(kernel, builder =>
            {
                builder.ConfigureTest();
            });
        }
예제 #2
0
        public IocPerformanceTestFixture()
        {
            var kernel = IocAutoFac.Initialize();

            Container = Ioc.Initialize(kernel, builder =>
            {
                builder.ConfigurePerformanceTest();
            });

            DirectContainer     = ((IIocContainer <IContainer>)Container).Kernel;
            ContainerComparison = CreateComparison();
        }