コード例 #1
0
 /// <summary>
 /// Recurses markdown blocks.
 /// </summary>
 /// <param name="block">The parent block.</param>
 /// <param name="candidate">The <see cref="FileDataParse"/> to parse to.</param>
 /// <param name="words">The <see cref="StringBuilder"/> for the words list.</param>
 /// <param name="titles">The title cache.</param>
 private FileDataParse RecurseBlock(
     MarkdownBlock block,
     FileDataParse candidate,
     StringBuilder words,
     List <(int level, string title)> titles)
コード例 #2
0
 /// <summary>
 /// Writes a processed document to the cache.
 /// </summary>
 /// <param name="parse">The <see cref="FileDataParse"/> to persist.</param>
 public void WriteToTempFiles(FileDataParse parse) =>
 File.AppendAllText(TempDataFile, parse.TempData);