/// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> /// <filterpriority>2</filterpriority> public void Dispose() { if (disposed) { return; } disposed = true; cache.Dispose(); httpClientCache.Dispose(); }
/// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> /// <filterpriority>2</filterpriority> public void Dispose() { if (disposed) { return; } disposed = true; cache.Dispose(); httpClientCache.Dispose(); OnDispose(this, EventArgs.Empty); }
/// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> /// <filterpriority>2</filterpriority> public void Dispose() { if (disposed) { return; } disposed = true; cache.Dispose(); aggressiveCacheDuration.Dispose(); disableHttpCaching.Dispose(); requestTimeout.Dispose(); httpClientCache.Dispose(); }