public void AddBundlesForUrlReferences(BundleCollection bundleCollection)
        {
            createdExternalBundles = new List <Bundle>();
            existingUrls           = GetExistingUrls(bundleCollection);

            bundleCollection.Accept(this);

            bundleCollection.AddRange(createdExternalBundles);
        }
Пример #2
0
 void UseCachedBundles()
 {
     Trace.Source.TraceInformation("CacheAwareBundleCollectionInitializer.UseCacheBundles");
     ClearBundles();
     bundles.AddRange(cacheReadResult.Manifest.Bundles);
 }
Пример #3
0
 protected void AddBundles(params Bundle[] bundlesToAdd)
 {
     bundles.AddRange(bundlesToAdd);
     bundles.BuildReferences();
 }