Ejemplo n.º 1
0
 public static void RegisterAssembly()
 {
     _resolver = new NinjectResolver(Assembly.GetExecutingAssembly());
     DependencyResolver.SetResolver(_resolver);
 }
Ejemplo n.º 2
0
 public static void RegisterModules(params NinjectModule[] modules)
 {
     _resolver = new NinjectResolver(modules);
     DependencyResolver.SetResolver(_resolver);
 }