示例#1
0
        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;
        }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="config">Настройки для выполнения запросов к api Yandex Message Queue</param>
 public YandexMqClient(YandexMqConfig config, IHttpServiceCaller httpCaller) :
     base(config, httpCaller)
 {
 }