Class UmbracoApplicationUrlValidator
Validates whether a fixed Umbraco application URL is set when in production runtime mode.
Namespace: Umbraco.Cms.Infrastructure.Runtime.RuntimeModeValidators
Assembly: Umbraco.Infrastructure.dll
Syntax
public class UmbracoApplicationUrlValidator : RuntimeModeProductionValidatorBase, IRuntimeModeValidator
Constructors
View SourceUmbracoApplicationUrlValidator(IOptionsMonitor<WebRoutingSettings>)
Initializes a new instance of the UmbracoApplicationUrlValidator class.
Declaration
public UmbracoApplicationUrlValidator(IOptionsMonitor<WebRoutingSettings> webRoutingSettings)
Parameters
Type | Name | Description |
---|---|---|
IOptionsMonitor<WebRoutingSettings> | webRoutingSettings | The web routing 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 |
|