Class MissingStartingPointLanguageValidator

This validator is used to informing the user that there is no route where the starting point is translated to the current language.

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

Constructors

MissingStartingPointLanguageValidator(IContentLoader, PartialRouteHandler, LocalizationService)

Initializes a new instance of the MissingStartingPointLanguageValidator class.

Declaration
public MissingStartingPointLanguageValidator(IContentLoader contentLoader, PartialRouteHandler partialRouteHandler, LocalizationService localizationService)
Parameters
Type Name Description
EPiServer.IContentLoader contentLoader

The content loader service.

EPiServer.Web.Routing.PartialRouteHandler partialRouteHandler

The partial route handler.

EPiServer.Framework.Localization.LocalizationService localizationService

The localization service.

Methods

Validate(CatalogContentBase)

Validates the specified CatalogContentBase.

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

The instance.

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

A list of validation errors.

Implements

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