public RedisSplitManager(ISplitCache splitCache, IBlockUntilReadyService blockUntilReadyService, ILog log = null) { _splitCache = splitCache; _blockUntilReadyService = blockUntilReadyService; _log = log ?? LogManager.GetLogger(typeof(RedisSplitManager)); _splitNameValidator = new SplitNameValidator(_log); }
public SplitManager(ISplitCache splitCache, IBlockUntilReadyService blockUntilReadyService, ISplitLogger log = null) { _splitCache = splitCache; _log = log ?? WrapperAdapter.GetLogger(typeof(SplitManager)); _splitNameValidator = new SplitNameValidator(_log); _blockUntilReadyService = blockUntilReadyService; }
public SplitClientForTesting(ILog _log, ISplitCache _splitCache, Splitter _splitter, IListener <WrappedEvent> _eventListener, IListener <KeyImpression> _impressionListener, IBlockUntilReadyService blockUntilReadyService) : base(_log) { splitCache = _splitCache; splitter = _splitter; eventListener = _eventListener; impressionListener = _impressionListener; _blockUntilReadyService = blockUntilReadyService; _trafficTypeValidator = new TrafficTypeValidator(_log, _splitCache); ApiKey = "SplitClientForTesting"; }
public SplitClientForTesting(ISplitLogger log, ISplitCache splitCache, IEventsLog eventsLog, IImpressionsLog impressionsLog, IBlockUntilReadyService blockUntilReadyService, IEvaluator evaluator) : base(log) { _splitCache = splitCache; _eventsLog = eventsLog; _impressionsLog = impressionsLog; _blockUntilReadyService = blockUntilReadyService; _trafficTypeValidator = new TrafficTypeValidator(_splitCache, log); _evaluator = evaluator; ApiKey = "SplitClientForTesting"; }