Search Results for

    Show / Hide Table of Contents
    View Source

    Class JITOptimizerValidator

    Validates whether the JIT/runtime optimizer of the entry assembly is enabled in production runtime mode.

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

    This can be ensured by building the application using the Release configuration.

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