public RateLimitingMiddleware(RequestDelegate next, IRateLimitingService service,
                               ILogger <RateLimitingMiddleware> logger)
 {
     this.next    = next;
     this.service = service;
     this.logger  = logger;
 }
Exemple #2
0
 public CaptchaModel(IRateLimitingService rateLimitingService)
 {
     this.rateLimitingService = rateLimitingService;
 }