Пример #1
0
 public SplitClient(ILog log)
 {
     _log                          = log;
     _keyValidator                 = new KeyValidator(_log);
     _splitNameValidator           = new SplitNameValidator(_log);
     _eventTypeValidator           = new EventTypeValidator(_log);
     _eventPropertiesValidator     = new EventPropertiesValidator(_log);
     _factoryInstantiationsService = FactoryInstantiationsService.Instance(_log);
 }
Пример #2
0
 public SplitClient(ISplitLogger log)
 {
     _log                          = log;
     _keyValidator                 = new KeyValidator();
     _splitNameValidator           = new SplitNameValidator();
     _eventTypeValidator           = new EventTypeValidator();
     _eventPropertiesValidator     = new EventPropertiesValidator();
     _factoryInstantiationsService = FactoryInstantiationsService.Instance();
     _wrapperAdapter               = new WrapperAdapter();
 }
 public KeyFilter(IMapper mapper,
                  IKeyValidator keyValidator,
                  IExposureKeyMapper exposureKeyMapper,
                  ILogger <KeyFilter> logger,
                  ITemporaryExposureKeyRepository keyRepository)
 {
     _mapper            = mapper;
     _keyValidator      = keyValidator;
     _exposureKeyMapper = exposureKeyMapper;
     _logger            = logger;
     _tempKeyRepository = keyRepository;
 }
Пример #4
0
 public SplitClient(ISplitLogger log)
 {
     _log                          = log;
     _keyValidator                 = new KeyValidator();
     _splitNameValidator           = new SplitNameValidator();
     _eventTypeValidator           = new EventTypeValidator();
     _eventPropertiesValidator     = new EventPropertiesValidator();
     _factoryInstantiationsService = FactoryInstantiationsService.Instance();
     _wrapperAdapter               = new WrapperAdapter();
     _configService                = new ConfigService(_wrapperAdapter, _log);
     _tasksManager                 = new TasksManager(_wrapperAdapter);
     _statusManager                = new InMemoryReadinessGatesCache();
 }
Пример #5
0
 public DatabaseKeysValidationService(ITemporaryExposureKeyRepository repository, IKeyValidator keyValidator, ILogger <DatabaseKeysValidationService> logger)
 {
     _repository   = repository;
     _keyValidator = keyValidator;
     _logger       = logger;
 }
Пример #6
0
 public OptimaController(IDbConnectionFactory dbConnectionFactory, IQueryGenerator queryGenerator, IKeyValidator keyValidator)
 {
     _dbConnectionFactory = dbConnectionFactory;
     _queryGenerator      = queryGenerator;
     _keyValidator        = keyValidator;
 }