protected IEnumerable<Bundle> CreateExternalBundlesUrlReferences(BundleCollection bundles)
 {
     var existingUrls = bundles.OfType<IExternalBundle>().Select(b => b.ExternalUrl);
     var generator = new ExternalBundleGenerator(existingUrls, settings);
     foreach (var bundle in bundles)
     {
         bundle.Accept(generator);
     }
     return generator.ExternalBundles;
 }
        protected IEnumerable <Bundle> CreateExternalBundlesUrlReferences(BundleCollection bundles)
        {
            var existingUrls = bundles.OfType <IExternalBundle>().Select(b => b.ExternalUrl);
            var generator    = new ExternalBundleGenerator(existingUrls, settings);

            foreach (var bundle in bundles)
            {
                bundle.Accept(generator);
            }
            return(generator.ExternalBundles);
        }