示例#1
0
        private static void RegisterServices(IKernel kernel)
        {
            var containerConfigurator = new NinjectConfigurator();

            containerConfigurator.Configure(kernel);
        }
 /// <summary>
 /// Load your modules or register your services here!
 /// </summary>
 /// <param name="kernel">The kernel.</param>
 private static void RegisterServices(IKernel kernel)
 {
     var containerConfigurator = new NinjectConfigurator();
     containerConfigurator.Configure(kernel);
 }