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