London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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: 13.30.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