public static IApplicationBuilder UseHTMLMinification(this IApplicationBuilder app, string excludeFilter) { var options = new HtmlMinificationOptions() { ExcludeFilter = excludeFilter }; return(app.UseMiddleware <HtmlMinificationMiddleware>(options)); }
public HtmlMinificationMiddleware(RequestDelegate next, HtmlMinificationOptions minificationOptions) { _next = next; _minificationOptions = minificationOptions; }
public static IApplicationBuilder UseHTMLMinification(this IApplicationBuilder app, HtmlMinificationOptions minificationOptions) { return(app.UseMiddleware <HtmlMinificationMiddleware>(minificationOptions)); }
public static IApplicationBuilder UseHTMLMinification(this IApplicationBuilder app, HtmlMinificationOptions minificationOptions) { return app.UseMiddleware<HtmlMinificationMiddleware>(minificationOptions); }
public static IApplicationBuilder UseHTMLMinification(this IApplicationBuilder app, string excludeFilter) { var options = new HtmlMinificationOptions() { ExcludeFilter = excludeFilter }; return app.UseMiddleware<HtmlMinificationMiddleware>(options); }