Beispiel #1
0
        public IEnumerable <Bundle> GetBundles(string location)
        {
            var bundles            = GetOrCreateBundleSet(location);
            var bundlesForLocation = GetOrCreateBundleSet(location);

            return(bundleContainer.IncludeReferencesAndSortBundles(bundles)
                   .Where(b => bundlesForLocation.Contains(b) || BundlePageLocationIs(b, location)));
        }
Beispiel #2
0
        public IEnumerable <Bundle> GetBundles(string location)
        {
            var bundles = GetOrCreateBundleSet(location);

            return(bundleContainer.IncludeReferencesAndSortBundles(bundles));
        }