Ejemplo n.º 1
0
        public string Velo()
        {
            var builder   = DependencyBuilders.ForVelo();
            var container = builder.BuildProvider();

            return(container.ToString());
        }
 public void Init()
 {
     _autofacContainer     = DependencyBuilders.ForAutofac().Build();
     _castleContainer      = DependencyBuilders.ForCastle();
     _coreContainer        = DependencyBuilders.ForCore().BuildServiceProvider();
     _coreContainerMixed   = DependencyBuilders.ForCore_Mixed().BuildServiceProvider();
     _lightInjectContainer = DependencyBuilders.ForLightInject();
     _simpleContainer      = DependencyBuilders.ForSimpleInject();
     _veloContainer        = DependencyBuilders.ForVelo().BuildProvider();
     _veloContainerMixed   = DependencyBuilders.ForVelo_Mixed().BuildProvider();
     _unityContainer       = DependencyBuilders.ForUnity();
 }