Class JITOptimizerValidator
Validates whether the JIT/runtime optimizer of the entry assembly is enabled in production runtime mode.
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 SourceValidate(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 |
|