Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

(GH-77) Make issue provider type name available on issue provider #79

Merged
merged 1 commit into from
Aug 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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