Пример #1
0
        public HttpReportsMiddlewire(RequestDelegate next, IHttpReports httpReports, IConfiguration configuration)
        {
            this._next          = next;
            this._httpReports   = httpReports;
            this._Configuration = configuration;

            this._httpReports.Init(configuration);
        }
Пример #2
0
 public HttpReportsMiddleware(RequestDelegate next, IHttpReports httpReports)
 {
     this._next        = next;
     this._httpReports = httpReports;
     this._httpReports.Init(Configuration);
 }