public static bool TryGetSourceFileContentIfExists(this ICodebaseService codebaseService, SourceItemInfo fileInfo, out string content) { ThrowIfNullOrInvalid(fileInfo); return(codebaseService.TryGetSourceFileContentIfExists(fileInfo.Branch, fileInfo.Key, out content)); }
public static string GetSourceFileContent(this ICodebaseService codebaseService, SourceItemInfo fileInfo) { ThrowIfNullOrInvalid(fileInfo); return(codebaseService.GetSourceFileContent(fileInfo.Branch, fileInfo.Key)); }