Class CompilationDebugCheck
Health check for the configuration of debug-flag.
Namespace: Umbraco.Cms.Core.HealthChecks.Checks.LiveEnvironment
Assembly: Umbraco.Core.dll
Syntax
public class CompilationDebugCheck : AbstractSettingsCheck, IDiscoverable
Constructors
View SourceCompilationDebugCheck(ILocalizedTextService, IOptionsMonitor<HostingSettings>)
Initializes a new instance of the CompilationDebugCheck class.
Declaration
public CompilationDebugCheck(ILocalizedTextService textService, IOptionsMonitor<HostingSettings> hostingSettings)
Parameters
Type | Name | Description |
---|---|---|
ILocalizedTextService | textService | |
IOptionsMonitor<HostingSettings> | hostingSettings |
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> |