Beispiel #1
0
        public override VirtualFile GetFile(string virtualPath)
        {
            if (!_DefaultProvider.FileExists(virtualPath) && IsEmbeddedView(virtualPath))
            {
                var embeddedView = _EmbeddedViews.FindEmbeddedView(virtualPath);
                return(new AssemblyResourceFile(embeddedView, virtualPath));
            }

            return(_DefaultProvider.GetFile(virtualPath));
        }