Ejemplo n.º 1
0
        private IEnumerable <string> GetBundleContents(string path)
        {
            var bundleContext = GetBundleContext(path);

            return(from bundle in _mvcApplication.Bundles
                   where bundle.Path == path
                   from f in bundle.EnumerateFiles(bundleContext)
                   let virtualFile = f.VirtualFile
                                     select _mvcApplication.ToAbsoluteUrl(virtualFile.VirtualPath));
        }
 public override string Href(string path, params object[] pathParts)
 {
     return(_mvcApplication.ToAbsoluteUrl(path));
 }