Skip to content

Commit

Permalink
Make MarkdownExporter ctor and Dialect protected (#2407)
Browse files Browse the repository at this point in the history
Make MarkdownExporter ctor and Dialect protected
  • Loading branch information
nietras authored Aug 17, 2023
1 parent d058c7b commit 9da4497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BenchmarkDotNet/Exporters/MarkdownExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public enum MarkdownHighlightStrategy
protected override string FileExtension => "md";
protected override string FileNameSuffix => $"-{Dialect.ToLower()}";

private string Dialect { get; set; }
protected string Dialect { get; set; }

public static readonly IExporter Default = new MarkdownExporter
{
Expand Down Expand Up @@ -86,7 +86,7 @@ public enum MarkdownHighlightStrategy
[PublicAPI] protected string BoldMarkupFormat = "**{0}**";
[PublicAPI] protected bool EscapeHtml;

private MarkdownExporter() { }
protected MarkdownExporter() { }

public override void ExportToLog(Summary summary, ILogger logger)
{
Expand Down

0 comments on commit 9da4497

Please sign in to comment.