示例#1
0
        private FileTitlePair LoadTitle(IFileInfo file)
        {
            using var reader = file.OpenText();
            reader.ReadLine();
            string title = _formatParser.ParseTitle(reader.ReadLine());

            return(new FileTitlePair(file.Name, title));
        }