Exemplo n.º 1
0
 public void Dispose()
 {
     Credentials?.Dispose();
     Credentials = null;
 }
Exemplo n.º 2
0
 public APIConfig(Uri endpoint, APICredentials credentials = null)
 {
     Credentials = credentials ?? new UnsecureCredentials();
     Endpoint    = endpoint ?? throw new ArgumentNullException(nameof(endpoint));
 }