Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IRuntimeModeValidator

    Validates configuration based on the runtime mode.

    Namespace: Umbraco.Cms.Infrastructure.Runtime
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IRuntimeModeValidator

    Methods

    View Source

    Validate(RuntimeMode, out String)

    Validates configuration based on the specified runtimeMode.

    Declaration
    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(RuntimeMode, out String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX