コード例 #1
0
        public override VirtualDirectory GetDirectory(string virtualDir)
        {
            var embeddedDir = PathUtils.GetAbsolutePath(virtualDir);

            if (_resourceProvider.FolderExists(embeddedDir))
            {
                return(new MergedDirectory(virtualDir, embeddedDir, this._resourceProvider));
            }

            return(base.GetDirectory(virtualDir));
        }