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); }
public MyMiddleware(AppFunc next, MyMiddlewareConfigOptions configOptions) { _next = next; _configOptions = configOptions; }
public MyMiddleware(AppFunc next, MyMiddlewareConfigOptions configOptions) { _next = next; _configOptions = configOptions; }