public ResetIdentifierService(
     IConnectionMultiplexer connectionMultiplexer,
     string instanceName,
     int maxAllowedRequestsNumber,
     TimeSpan monitoredPeriod,
     TimeSpan identifierTimeSpan,
     int resetIdentifierLength,
     IBase34Util base34Util)
 {
     _instanceName             = instanceName;
     _maxAllowedRequestsNumber = maxAllowedRequestsNumber;
     _monitoredPeriod          = monitoredPeriod;
     _identifierTimeSpan       = identifierTimeSpan;
     _resetIdentifierLength    = resetIdentifierLength;
     _base34Util = base34Util;
     _db         = connectionMultiplexer.GetDatabase();
 }
 public PasswordResetService(IConnectionMultiplexer connectionMultiplexer,
                             string instanceName,
                             int maxAllowedRequestsNumber,
                             TimeSpan monitoredPeriod,
                             TimeSpan identifierTimeSpan,
                             int resetIdentifierLength,
                             IPasswordResetRepository passwordResetRepository,
                             ICustomerCredentialsService customerCredentialsService,
                             IBase34Util base34Util,
                             ILogFactory logFactory)
 {
     _instanceName               = instanceName;
     _maxAllowedRequestsNumber   = maxAllowedRequestsNumber;
     _monitoredPeriod            = monitoredPeriod;
     _identifierTimeSpan         = identifierTimeSpan;
     _resetIdentifierLength      = resetIdentifierLength;
     _passwordResetRepository    = passwordResetRepository;
     _customerCredentialsService = customerCredentialsService;
     _base34Util = base34Util;
     _log        = logFactory.CreateLog(this);
     _db         = connectionMultiplexer.GetDatabase();
 }