Esempio n. 1
0
 public void RebuildCache()
 {
     cache.Clear();
     using (bundles.GetWriteLock())
     {
         bundles.Clear();
         bundleCollectionInitializer.Initialize(bundles);
     }
 }
 public void Initialize(BundleCollection bundleCollection)
 {
     using (bundleCollection.GetWriteLock())
     {
         bundles = bundleCollection;
         bundles.Clear();
         AddBundles();
         ProcessBundles();
         AddBundlesForUrlReferences();
         bundles.BuildReferences();
     }
 }
Esempio n. 3
0
 void ClearBundles()
 {
     Trace.Source.TraceInformation("CacheAwareBundleCollectionInitializer.ClearBundles");
     bundles.Clear();
 }