BlogEngine.Core.Providers.XmlFileSystemProvider.FileExists C# (CSharp) Method

FileExists() public method

boolean wether a file exists by its virtual path
public FileExists ( string VirtualPath ) : bool
VirtualPath string the virtual path
return bool
        public override bool FileExists(string VirtualPath)
        {
            VirtualPath = RelativeFilePath(VirtualPath);
            var aPath = BlogAbsolutePath(VirtualPath);
            return File.Exists(aPath);
        }