public override bool Exists(string path) { path = fixFileName(path); if (VirtualFileSystem.Instance.exists(path)) { return(true); } else { foreach (RocketFileSystemExtension extension in extensions) { if (extension.canOpenFile(path)) { return(true); } } } //Try to load a common resource, if this fails false will be returned. return(CommonResources.Exists(path)); }
protected override bool exists(string filename) { return(!String.IsNullOrEmpty(filename) && CommonResources.Exists(filename)); }