Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoApplicationUrlValidator

    Validates whether a fixed Umbraco application URL is set when in production runtime mode.

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

    Constructors

    View Source

    UmbracoApplicationUrlValidator(IOptionsMonitor<WebRoutingSettings>)

    Initializes a new instance of the UmbracoApplicationUrlValidator class.

    Declaration
    public UmbracoApplicationUrlValidator(IOptionsMonitor<WebRoutingSettings> webRoutingSettings)
    Parameters
    Type Name Description
    IOptionsMonitor<WebRoutingSettings> webRoutingSettings

    The web routing settings.

    Methods

    View Source

    Validate(out String)

    Validates configuration based on the production runtime mode.

    Declaration
    protected override 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.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UmbracoApplicationUrlValidator(IOptionsMonitor<WebRoutingSettings>)
    • Methods
      • Validate(out String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX