Class EntrySeoUrlValidator

Represents the validator for Seo Url property of EntryContentBase.

Inheritance
System.Object
EntrySeoUrlValidator
Implements
EPiServer.Validation.IValidate<EntryContentBase>
EPiServer.Validation.IValidate
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.Commerce.Validation
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public class EntrySeoUrlValidator : IValidate<EntryContentBase>, IValidate

Constructors

EntrySeoUrlValidator(ICatalogSystem, LocalizationService, ReferenceConverter)

Initializes a new instance of the EntrySeoUrlValidator class.

Declaration
public EntrySeoUrlValidator(ICatalogSystem catalogSystem, LocalizationService localizationService, ReferenceConverter referenceConverter)
Parameters
Type Name Description
ICatalogSystem catalogSystem

The catalog system.

EPiServer.Framework.Localization.LocalizationService localizationService

The localization service.

ReferenceConverter referenceConverter

The reference converter, to get CatalogEntryId from EntryContentBase.

Methods

Validate(EntryContentBase)

Validates the specified instance.

Declaration
public IEnumerable<ValidationError> Validate(EntryContentBase instance)
Parameters
Type Name Description
EntryContentBase instance

The instance.

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

Implements

EPiServer.Validation.IValidate<>
EPiServer.Validation.IValidate