public HtmlAppenderMiddleware(AppFunc next, HtmlAppenderMiddlewareOptions options)
 {
     if (null == next) throw new ArgumentNullException("next");
     if (null == options) throw new ArgumentNullException("options");
     _next = next;
     _options = options;
 }
 public HtmlAppenderMiddleware(AppFunc next, HtmlAppenderMiddlewareOptions options)
 {
     if (null == next)
     {
         throw new ArgumentNullException("next");
     }
     if (null == options)
     {
         throw new ArgumentNullException("options");
     }
     _next    = next;
     _options = options;
 }
        public static void UseHtmlAppenderMiddleware(this IAppBuilder app, HtmlAppenderMiddlewareOptions options = null)
        {
            if (null == options) options = new HtmlAppenderMiddlewareOptions();

            app.Use<DebugMiddleware>(options);
        }