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