FromFile_Entries() private method

private FromFile_Entries ( AcdReader reader ) : void
reader AcdReader
return void
Esempio n. 1
0
        public static Acd FromFile(string filename) {
            if (!File.Exists(filename)) {
                throw new FileNotFoundException(filename);
            }

            var acd = new Acd(filename);
            using (var reader = new AcdReader(filename)) {
                acd.FromFile_Entries(reader);
            }

            return acd;
        }