public static async Task <MarkdownResult> Create(FileInfo markdownFileInfo, string knowledgebaseUrl) { var result = new MarkdownResult(markdownFileInfo, knowledgebaseUrl); await result.Analyze(); return(result); }
private Task <MarkdownResult> AnalyzeMarkdownFile(FileInfo markdownFileInfo) { return(MarkdownResult.Create(markdownFileInfo, KnowledgebaseUrl)); }