Skip to content

Commit

Permalink
Fixed breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmania committed Nov 3, 2021
1 parent 692f952 commit 6760465
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@ public abstract class BaseHttpHeaderCheck : HealthCheck
private readonly bool _metaTagOptionAvailable;
private static HttpClient s_httpClient;

[Obsolete("Use ctor without value.")]
protected BaseHttpHeaderCheck(
IHostingEnvironment hostingEnvironment,
ILocalizedTextService textService,
string header,
string value,
string localizedTextPrefix,
bool metaTagOptionAvailable) :this(hostingEnvironment, textService, header, localizedTextPrefix, metaTagOptionAvailable)
{

}

[Obsolete("Save ILocalizedTextService in a field on the super class instead of using this")]
protected ILocalizedTextService LocalizedTextService => _textService;
/// <summary>
/// Initializes a new instance of the <see cref="BaseHttpHeaderCheck"/> class.
/// </summary>
Expand Down

0 comments on commit 6760465

Please sign in to comment.