private async Task <RazorSourceDocument> GetRazorSourceDocumentAsync(DocumentSnapshot document) { var sourceText = await document.GetTextAsync(); return(sourceText.GetRazorSourceDocument(document.FilePath)); }
private async Task <RazorSourceDocument> GetRazorSourceDocumentAsync(DocumentSnapshot document, RazorProjectItem projectItem) { var sourceText = await document.GetTextAsync(); return(sourceText.GetRazorSourceDocument(document.FilePath, projectItem?.RelativePhysicalPath)); }