示例#1
0
 public NinjectHttpResolver(Assembly assembly)
 {
     Kernel = NinjectKernel.GetKernel();
     Kernel.Load(assembly);
 }
示例#2
0
 public NinjectHttpResolver()
 {
     Kernel = NinjectKernel.GetKernel();
 }