예제 #1
0
 /// <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();
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 /// <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();
 }