Class RuntimeModeProductionValidatorBase
Validates configuration based on the production runtime mode.
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Runtime.RuntimeModeValidators
Assembly: Umbraco.Infrastructure.dll
Syntax
public abstract class RuntimeModeProductionValidatorBase : IRuntimeModeValidator
Methods
View SourceValidate(out String)
Validates configuration based on the production runtime mode.
Declaration
protected abstract bool Validate(out string validationErrorMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | validationErrorMessage | The validation error message. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Validate(RuntimeMode, out String)
Validates configuration based on the specified runtimeMode
.
Declaration
public bool Validate(RuntimeMode runtimeMode, out string validationErrorMessage)
Parameters
Type | Name | Description |
---|---|---|
RuntimeMode | runtimeMode | The runtime mode. |
System.String | validationErrorMessage | The validation error message. |
Returns
Type | Description |
---|---|
System.Boolean |
|