Skip to content

Commit

Permalink
(cake-contribGH-77) Make issue provider type name available on issue …
Browse files Browse the repository at this point in the history
…provider
  • Loading branch information
pascalberger committed Aug 21, 2019
1 parent 3671c58 commit ead75c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cake.Issues.DocFx/DocFxIssuesAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static string DocFxIssuesProviderTypeName(
{
context.NotNull(nameof(context));

return typeof(DocFxIssuesProvider).FullName;
return DocFxIssuesProvider.ProviderTypeName;
}

/// <summary>
Expand Down
6 changes: 6 additions & 0 deletions src/Cake.Issues.DocFx/DocFxIssuesProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ public DocFxIssuesProvider(ICakeLog log, DocFxIssuesSettings issueProviderSettin
{
}

/// <summary>
/// Gets the name of the DocFx issue provider.
/// This name can be used to identify issues based on the <see cref="IIssue.ProviderType"/> property.
/// </summary>
public static string ProviderTypeName => typeof(DocFxIssuesProvider).FullName;

/// <inheritdoc />
public override string ProviderName => "DocFX";

Expand Down

0 comments on commit ead75c0

Please sign in to comment.