Beispiel #1
0
 public void Dispose()
 {
     if (_service == null)
     {
         return;
     }
     _service.Dispose();
     _service = null;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RegulationClient"/> class.
 /// </summary>
 /// <param name="serviceUrl">The regulation service url.</param>
 public RegulationClient(string serviceUrl)
 {
     _service = new RegulationAPI(new Uri(serviceUrl));
 }