Class RuntimeMinificationValidator
Validates whether the runtime minification cache buster is not set to Timestamp when in production runtime mode.
Namespace: Umbraco.Cms.Infrastructure.Runtime.RuntimeModeValidators
Assembly: Umbraco.Infrastructure.dll
Syntax
public class RuntimeMinificationValidator : RuntimeModeProductionValidatorBase, IRuntimeModeValidator
Constructors
View SourceRuntimeMinificationValidator(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 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 |
|