Zephyr.Web.Mvc.ZephyrViewEngineVirtualPathProvider.GetFile C# (CSharp) Method

GetFile() public method

Gets a virtual file from the virtual file system.
public GetFile ( string virtualPath ) : System.Web.Hosting.VirtualFile
virtualPath string The path to the virtual file.
return System.Web.Hosting.VirtualFile
        public override VirtualFile GetFile(string virtualPath)
        {
            if (PathExists(virtualPath))
            {
                return new ZephyrViewEngineVirtualFile(virtualPath);
            }
            return base.GetFile(virtualPath);
        }