Interface IRuntimeModeValidator
Validates configuration based on the runtime mode.
Namespace: Umbraco.Cms.Infrastructure.Runtime
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IRuntimeModeValidator
Methods
View SourceValidate(RuntimeMode, out String)
Validates configuration based on the specified runtimeMode.
Declaration
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 |
|