Brandy.Web.EmbeddedResourceVirtualPathProvider.FileExists C# (CSharp) Method

FileExists() public method

public FileExists ( string virtualPath ) : bool
virtualPath string
return bool
        public override bool FileExists(string virtualPath)
        {
            if (base.FileExists(virtualPath))
            {
                return true;
            }

            var resource = Cache(virtualPath);
            return resource != null && !resource.IsDirectory;
        }