November Happy Hour will be moved to Thursday December 5th.

Class PublishDateValidator

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Validates that StartPublish occurs before StopPublish.

Inheritance
System.Object
PublishDateValidator
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 PublishDateValidator : IValidate<IVersionable>, IValidate

Constructors

PublishDateValidator(LocalizationService, IContentTypeRepository)

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

Declaration
public PublishDateValidator(LocalizationService localizationService, IContentTypeRepository contentTypeRepository)
Parameters
Type Name Description
LocalizationService localizationService

The localization service.

IContentTypeRepository contentTypeRepository

The content type repository.

Methods

Validate(IVersionable)

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

Declaration
public IEnumerable<ValidationError> Validate(IVersionable versionable)
Parameters
Type Name Description
IVersionable versionable

The versionable.

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

Implements

Extension Methods