Ejemplo n.º 1
0
 public RateLimitingMiddleware(RequestDelegate next, IRateLimitingService service,
                               ILogger <RateLimitingMiddleware> logger)
 {
     this.next    = next;
     this.service = service;
     this.logger  = logger;
 }
Ejemplo n.º 2
0
 public CaptchaModel(IRateLimitingService rateLimitingService)
 {
     this.rateLimitingService = rateLimitingService;
 }