Search Results for

    Show / Hide Table of Contents
    View Source

    Class RuntimeModeProductionValidatorBase

    Validates configuration based on the production runtime mode.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Runtime.RuntimeModeValidators
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public abstract class RuntimeModeProductionValidatorBase : IRuntimeModeValidator

    Methods

    View Source

    Validate(out String)

    Validates configuration based on the production runtime mode.

    Declaration
    protected abstract bool Validate(out string validationErrorMessage)
    Parameters
    Type Name Description
    System.String validationErrorMessage

    The validation error message.

    Returns
    Type Description
    System.Boolean

    true when the validation passes; otherwise, false.

    View Source

    Validate(RuntimeMode, out String)

    Validates configuration based on the specified runtimeMode.

    Declaration
    public bool Validate(RuntimeMode runtimeMode, out string validationErrorMessage)
    Parameters
    Type Name Description
    RuntimeMode runtimeMode

    The runtime mode.

    System.String validationErrorMessage

    The validation error message.

    Returns
    Type Description
    System.Boolean

    true when the validation passes; otherwise, false.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • Validate(out String)
      • Validate(RuntimeMode, out String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX