Пример #1
0
 public static void Configure()
 {
     if (_instance == null)
     {
         _instance = new NinjectConfiguration();
     }
 }
Пример #2
0
 public NinjectAPIDependencyResolver()
 {
     _kernel = NinjectConfiguration.GetInstance().Kernel;
 }