ChessSharp.Web.App_Start.NinjectWebCommon.CreateKernel C# (CSharp) Method

CreateKernel() private static method

Creates the kernel that will manage your application.
private static CreateKernel ( ) : IKernel
return IKernel
        private static IKernel CreateKernel()
        {
            var kernel = new StandardKernel();
            kernel.Bind<Func<IKernel>>().ToMethod(ctx => () => new Bootstrapper().Kernel);
            kernel.Bind<IHttpModule>().To<HttpApplicationInitializationHttpModule>();

            RegisterServices(kernel);
            return kernel;
        }