public void Dispose() { if (_service == null) { return; } _service.Dispose(); _service = null; }
public RateCalculatorClient(string serviceUrl, ILogFactory logFactory) { _service = new RateCalculatorAPI(new Uri(serviceUrl), new HttpClient()); _log = logFactory.CreateLog(this); }
public RateCalculatorClient(string serviceUrl, ILog log) { _service = new RateCalculatorAPI(new Uri(serviceUrl), new HttpClient()); _log = log; }