Class PageShortcutValidator
Validates that when a shortcut (e.g. Shortcut or Fetchdata) is used that the property Page
Inheritance
System.Object
PageShortcutValidator
Namespace: EPiServer.Validation.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ServiceConfiguration]
public class PageShortcutValidator : Object, IValidate<PageData>, IValidate
Constructors
PageShortcutValidator(LocalizationService)
Initializes a new instance of the Page
Declaration
public PageShortcutValidator(LocalizationService localizationService)
Parameters
Type | Name | Description |
---|---|---|
Localization |
localizationService |
Methods
Validate(PageData)
Validates the specified page.
Declaration
public IEnumerable<ValidationError> Validate(PageData page)
Parameters
Type | Name | Description |
---|---|---|
Page |
page | The page. |
Returns
Type | Description |
---|---|
System. |