public static Stream GetFile(string path) { var archive = _archives.Values.FirstOrDefault(a => a.FileExists(path)); if (archive == null) { throw new FileNotFoundException("Unable to find " + path); } var result = new CFileStream(archive, path); return(result); }
public static Stream GetFile(string path) { var archive = _archives.Values.FirstOrDefault(a => a.FileExists(path)); if (archive == null) throw new FileNotFoundException("Unable to find " + path); var result = new CFileStream(archive, path); return result; }