protected YandexMqService(YandexMqConfig config, IHttpServiceCaller httpServiceCaller) { if (config == null) { throw new ArgumentNullException(nameof(config)); } if (httpServiceCaller == null) { throw new ArgumentNullException(nameof(httpServiceCaller)); } Config = config; ServiceCaller = httpServiceCaller; }
/// <summary> /// /// </summary> /// <param name="config">Настройки для выполнения запросов к api Yandex Message Queue</param> public YandexMqClient(YandexMqConfig config, IHttpServiceCaller httpCaller) : base(config, httpCaller) { }