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