예제 #1
0
        public void CanSetupContainer()
        {
            //arrange
            var container = new Container();
            var registrar = new StructuremapRegistrar();

            //act
            registrar.ConfigureDependencies(container, false);

            //assert
            container.AssertConfigurationIsValid();
        }
예제 #2
0
        public void CanSetupContainer()
        {
            //arrange
            var container = new Container();
            var registrar = new StructuremapRegistrar();

            //act
            registrar.ConfigureDependencies(container, false);

            //assert
            container.AssertConfigurationIsValid();
        }
예제 #3
0
        public void CanSetupContainer()
        {
            //arrange
            var container = new Container();
            var registrar = new StructuremapRegistrar();

            //act
            registrar.ConfigureDependencies(container);

            //assert
            container.AssertConfigurationIsValid();
            //Log.Info(container.WhatDoIHave());
        }
예제 #4
0
 public void ConfigureDependencies()
 {
     StructuremapRegistrar.ConfigureDependencies(Container, AdditionalRegistries);
 }