Beispiel #1
0
 public override object GetService(Type serviceType)
 {
     return(NinjectConfig.TryGet(serviceType) ?? base.GetService(serviceType));
 }
 protected override IController GetControllerInstance(RequestContext requestContext, Type controllerType)
 {
     return(NinjectConfig.TryGet(controllerType) as IController);
 }