/// <summary> /// Resets all configuration (Rackspace.NET, OpenStack.NET, Flurl and Json.NET) so that <see cref="Configure"/> can be called again. /// </summary> public static void ResetDefaults() { lock (ConfigureLock) { if (!_isConfigured) { return; } OpenStackNet.ResetDefaults(); _isConfigured = false; } }
/// <inheritdoc /> public new void Dispose() { OpenStackNet.ResetDefaults(); base.Dispose(); }
/// <summary> /// Initializes a new instance of the <see cref="HttpTest"/> class. /// </summary> public HttpTest() { OpenStackNet.ResetDefaults(); OpenStackNet.Configuring += SetTestMode; }