Beispiel #1
0
 public LogDashboardContext(HttpContext httpContext, LogDashboardRoute route, LogDashboardOptions options)
 {
     StaticOptions = options;
     Route         = route ?? throw new ArgumentNullException(nameof(route));
     HttpContext   = httpContext ?? throw new ArgumentNullException(nameof(httpContext));
     Options       = options;
 }
 public LogDashboardContext(IOwinContext httpContext, LogDashboardRoute route, IRazorLightEngine engine, LogDashboardOptions options)
 {
     StaticOptions = options;
     Route         = route ?? throw new ArgumentNullException(nameof(route));
     HttpContext   = httpContext ?? throw new ArgumentNullException(nameof(httpContext));
     Engine        = engine ?? throw new ArgumentNullException(nameof(engine));
     Options       = options;
 }