Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class PageShortcutValidator

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Validates that when a shortcut (e.g. Shortcut or Fetchdata) is used that the property PageShortcutLink is set.

Inheritance
System.Object
PageShortcutValidator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Validation.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration]
public class PageShortcutValidator : IValidate<PageData>, IValidate

Constructors

PageShortcutValidator(LocalizationService)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the PageShortcutValidator class.

Declaration
public PageShortcutValidator(LocalizationService localizationService)
Parameters
Type Name Description
LocalizationService localizationService

Methods

Validate(PageData)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Validates the specified page.

Declaration
public IEnumerable<ValidationError> Validate(PageData page)
Parameters
Type Name Description
PageData page

The page.

Returns
Type Description
System.Collections.Generic.IEnumerable<ValidationError>

Implements

Extension Methods