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

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

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

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