コード例 #1
0
 public RequestCatcherMiddleware(RequestDelegate next,
                                 IRequestCatcherPersistencer persistencer,
                                 IRequestCatcherValidator validator,
                                 IOptions <RequestCatcherOptions> options,
                                 ILogger <RequestCatcherMiddleware> logger)
 {
     _next         = next;
     _persistencer = persistencer;
     _validator    = validator;
     _logger       = logger;
     _options      = options.Value;
 }
 public DefaultRequestCatcherValidator(IOptions <RequestCatcherOptions> options)
 {
     _options = options.Value;
 }