Exemplo n.º 1
0
 private static void SetupNancy(IKernel kernel, IAppBuilder app)
 {
     var bootstrapper = new JabbRNinjectNancyBootstrapper(kernel);
     app.UseNancy(bootstrapper);
 }
Exemplo n.º 2
0
 private static void SetupNancy(IKernel kernel, IAppBuilder app)
 {
     var bootstrapper = new JabbRNinjectNancyBootstrapper(kernel);
     app.MapPath("/auth", subApp => subApp.UseNancy(bootstrapper));
 }