Class MacroErrorsCheck
Health check for the recommended production configuration for Macro Errors.
Namespace: Umbraco.Cms.Core.HealthChecks.Checks.Configuration
Assembly: Umbraco.Core.dll
Syntax
public class MacroErrorsCheck : AbstractSettingsCheck, IDiscoverable
Constructors
View SourceMacroErrorsCheck(ILocalizedTextService, IOptionsMonitor<ContentSettings>)
Initializes a new instance of the MacroErrorsCheck class.
Declaration
public MacroErrorsCheck(ILocalizedTextService textService, IOptionsMonitor<ContentSettings> contentSettings)
Parameters
Type | Name | Description |
---|---|---|
ILocalizedTextService | textService | |
IOptionsMonitor<ContentSettings> | contentSettings |
Properties
View SourceCheckErrorMessage
Gets the message for when the check has failed.
Declaration
public override string CheckErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
CheckSuccessMessage
Gets the message for when the check has succeeded.
Declaration
public override string CheckSuccessMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
CurrentValue
Gets the current value of the config setting
Declaration
public override string CurrentValue { get; }
Property Value
Type | Description |
---|---|
System.String |
ItemPath
Gets key within the JSON to check, in the colon-delimited format https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-3.1
Declaration
public override string ItemPath { get; }
Property Value
Type | Description |
---|---|
System.String |
ReadMoreLink
Gets a link to an external resource with more information.
Declaration
public override string ReadMoreLink { get; }
Property Value
Type | Description |
---|---|
System.String |
ValueComparisonType
Gets the comparison type for checking the value.
Declaration
public override ValueComparisonType ValueComparisonType { get; }
Property Value
Type | Description |
---|---|
ValueComparisonType |
Values
Gets the values to compare against.
Declaration
public override IEnumerable<AcceptableConfiguration> Values { get; }
Property Value
Type | Description |
---|---|
IEnumerable<AcceptableConfiguration> |