SaaS CMS has officially launched! Learn more now.

Interface IBatchPublishSortingStrategy

Describes the strategy that decides what order content should be published by the BatchPublisher service.

Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public interface IBatchPublishSortingStrategy

Methods

Sort(IEnumerable<ContentReference>)

Sorts the specified content items in order of how they should be published. Items at the beginning of the returned enumerable will be published before items at the end.

Declaration
IEnumerable<ContentReference> Sort(IEnumerable<ContentReference> contentLinks)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ContentReference> contentLinks

The content links.

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

Extension Methods