Search Results for

    Show / Hide Table of Contents
    View Source

    Class RuntimeMinificationValidator

    Validates whether the runtime minification cache buster is not set to Timestamp when in production runtime mode.

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

    Constructors

    View Source

    RuntimeMinificationValidator(IOptionsMonitor<RuntimeMinificationSettings>)

    Initializes a new instance of the RuntimeMinificationValidator class.

    Declaration
    public RuntimeMinificationValidator(IOptionsMonitor<RuntimeMinificationSettings> runtimeMinificationSettings)
    Parameters
    Type Name Description
    IOptionsMonitor<RuntimeMinificationSettings> runtimeMinificationSettings

    The runtime minification 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
      • RuntimeMinificationValidator(IOptionsMonitor<RuntimeMinificationSettings>)
    • Methods
      • Validate(out String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX