internal RateLimiter(IRateLimitRepository repo) { _repo = repo; }
public RateLimitService(IOptions <RateLimitOptions> options, IRateLimitRepository counterRepo, IRequestsLogRepository _requestLogRepo) { _options = options.Value; _counterRepository = counterRepo; _requestLogRepository = _requestLogRepo; }
public ApplicationService(IApplicationRepository repo, IRateLimitRepository rateRepo) : base(repo) { this.repo = repo; this.rateRepo = rateRepo; }
public RateLimitService(IRateLimitRepository repo, IApplicationService appService) : base(repo) { this.repo = repo; this.appService = appService; }