Example #1
0
 public static void UseMyMiddleware(this IAppBuilder app,
                                    MyMiddlewareConfigOptions configOptions)
 {
     app.Use <MyMiddleware>(configOptions);
 }
Example #2
0
 public static void UseMyMiddleware(this IAppBuilder app,
 MyMiddlewareConfigOptions configOptions)
 {
     app.Use<MyMiddleware>(configOptions);
 }
Example #3
0
 public MyMiddleware(AppFunc next, MyMiddlewareConfigOptions configOptions)
 {
     _next          = next;
     _configOptions = configOptions;
 }
Example #4
0
 public MyMiddleware(AppFunc next, MyMiddlewareConfigOptions configOptions)
 {
     _next = next;
     _configOptions = configOptions;
 }