A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class NodeSeoUrlValidator

Represents the validator for Seo Url property of NodeContent.

Inheritance
System.Object
NodeSeoUrlValidator
Implements
EPiServer.Validation.IValidate<NodeContent>
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 NodeSeoUrlValidator : IValidate<NodeContent>, IValidate

Constructors

NodeSeoUrlValidator(ICatalogSystem, LocalizationService, ReferenceConverter)

Initializes a new instance of the NodeSeoUrlValidator class.

Declaration
public NodeSeoUrlValidator(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 CatalogNodeId from NodeContent.

Methods

Validate(NodeContent)

Validates the specified instance.

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

The instance.

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

Implements

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