Пример #1
0
        private void ConfigureIoc()
        {
            ControllerBuilder.Current.SetControllerFactory(new StructureMapControllerFactory(ObjectFactory.Container));
            var _wiringDefinition = new WiringDefinition();

            _wiringDefinition.Configure(ObjectFactory.Container);
        }
Пример #2
0
 private void ConfigureIoc()
 {
     ControllerBuilder.Current.SetControllerFactory(new StructureMapControllerFactory(ObjectFactory.Container));
     var _wiringDefinition = new WiringDefinition();
     _wiringDefinition.Configure(ObjectFactory.Container);
 }