Bookstore.WebSite.Container.Start C# (CSharp) Méthode

Start() public static méthode

public static Start ( ) : IKernel
Résultat IKernel
        public static IKernel Start()
        {
            _container.Load(new INinjectModule[]
              {
            new WebAppServices(),
            new ApplicationServices()
              });

              var adapter = new NinjectServiceLocator(_container);
              ServiceLocator.SetLocatorProvider(() => adapter);

              return _container;
        }
Container