Esempio n. 1
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _sarc = new SimpleSARC(FileInfo.OpenRead());
            }
        }
Esempio n. 2
0
        public LoadResult Load(string filename)
        {
            FileInfo = new FileInfo(filename);
            if (!FileInfo.Exists)
            {
                return(LoadResult.FileNotFound);
            }

            _sarc = new SimpleSARC(FileInfo.OpenRead());
            return(LoadResult.Success);
        }