Exemplo n.º 1
0
        public UzClient(ISettingsProvider settingsProvider, IProxyProvider proxyProvider = null)
        {
            _settingsProvider = settingsProvider;
            _proxyProvider    = proxyProvider;

            _logger   = LogFactory.GetLog(nameof(UzClient));
            _settings = _settingsProvider.GetSettings().UzService;
            _scanner  = new UzScanner(_settings, LogFactory.GetLog(nameof(UzScanner)), CreateService);
        }
Exemplo n.º 2
0
 public UzClient(string baseUrl, string sessionIdKey)
 {
     _baseUrl      = baseUrl;
     _sessionIdKey = sessionIdKey;
     _scanner      = new UzScanner(CreateService, Logger);
 }