public void Load(string filename) { FileInfo = new FileInfo(filename); if (FileInfo.Exists) { _sarc = new SimpleSARC(FileInfo.OpenRead()); } }
public LoadResult Load(string filename) { FileInfo = new FileInfo(filename); if (!FileInfo.Exists) { return(LoadResult.FileNotFound); } _sarc = new SimpleSARC(FileInfo.OpenRead()); return(LoadResult.Success); }