Example #1
0
 /// <summary>
 /// Releases resources.
 /// </summary>
 public void Dispose()
 {
     if (_service == null)
     {
         return;
     }
     _service.Dispose();
     _service = null;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SwiftCredentialsClient"/> class.
 /// </summary>
 /// <param name="settings">The service settings.</param>
 public SwiftCredentialsClient(SwiftCredentialsServiceClientSettings settings)
 {
     _service = new SwiftCredentialsAPI(new Uri(settings.ServiceUrl));
 }