DocFxIssuesAliases.

DocFxIssuesFromContent(ICakeContext, string) Method

Summary

Gets an instance of a provider for warnings reported by DocFx using log file content for a DocFx project in the repository root.
Assembly
Cake.Issues.DocFx.dll
Namespace
Cake.Issues.DocFx
Containing Type
DocFxIssuesAliases

Syntax

public static IIssueProvider DocFxIssuesFromContent(this ICakeContext context, string logFileContent)

Examples

Read warnings reported by DocFx:

var issues =
        ReadIssues(
            DocFxIssuesFromContent(logFileContent)),
            @"c:\repo");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
logFileContent string Content of the DocFx log file.

Return Value

Type Description
IIssueProvider Instance of a provider for warnings reported by DocFx.