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. |
| string | validationErrorMessage | The validation error message. |
Returns
| Type | Description |
|---|---|
| bool |
|