Search Results for

    Show / Hide Table of Contents
    View Source

    Class MacroErrorsCheck

    Health check for the recommended production configuration for Macro Errors.

    Inheritance
    System.Object
    HealthCheck
    AbstractSettingsCheck
    Namespace: Umbraco.Cms.Core.HealthChecks.Checks.Configuration
    Assembly: Umbraco.Core.dll
    Syntax
    public class MacroErrorsCheck : AbstractSettingsCheck, IDiscoverable

    Constructors

    View Source

    MacroErrorsCheck(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 Source

    CheckErrorMessage

    Gets the message for when the check has failed.

    Declaration
    public override string CheckErrorMessage { get; }
    Property Value
    Type Description
    System.String
    View Source

    CheckSuccessMessage

    Gets the message for when the check has succeeded.

    Declaration
    public override string CheckSuccessMessage { get; }
    Property Value
    Type Description
    System.String
    View Source

    CurrentValue

    Gets the current value of the config setting

    Declaration
    public override string CurrentValue { get; }
    Property Value
    Type Description
    System.String
    View Source

    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
    View Source

    ReadMoreLink

    Gets a link to an external resource with more information.

    Declaration
    public override string ReadMoreLink { get; }
    Property Value
    Type Description
    System.String
    View Source

    ValueComparisonType

    Gets the comparison type for checking the value.

    Declaration
    public override ValueComparisonType ValueComparisonType { get; }
    Property Value
    Type Description
    ValueComparisonType
    View Source

    Values

    Gets the values to compare against.

    Declaration
    public override IEnumerable<AcceptableConfiguration> Values { get; }
    Property Value
    Type Description
    IEnumerable<AcceptableConfiguration>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MacroErrorsCheck(ILocalizedTextService, IOptionsMonitor<ContentSettings>)
    • Properties
      • CheckErrorMessage
      • CheckSuccessMessage
      • CurrentValue
      • ItemPath
      • ReadMoreLink
      • ValueComparisonType
      • Values
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX