Esempio n. 1
0
 /// <summary>
 /// Removes the given provider from the collection of providers being automatically refreshed.
 /// </summary>
 /// <param name="provider">The provider to be removed.</param>
 public static void DisableAutoRefresh(ISecurityProvider provider)
 {
     lock (s_autoRefreshProviders)
     {
         s_autoRefreshProviders.RemoveAll(cacheContext => provider.Equals(cacheContext.Provider));
     }
 }