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