Esempio n. 1
0
 public void Dispose()
 {
     if (_service == null)
     {
         return;
     }
     _service.Dispose();
     _service = null;
 }
Esempio n. 2
0
        public TradeVolumesClient(string serviceUrl)
        {
            if (string.IsNullOrWhiteSpace(serviceUrl))
            {
                throw new ArgumentNullException(nameof(serviceUrl));
            }

            _service = new TradeVolumesAPI(new Uri(serviceUrl));
        }