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

Interface IProviderLoadingPipeline

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Signature for component that can act on LoaderOptions before IContent instances are loaded from the provider and gives opportunity to replace items with other versions.

Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IProviderLoadingPipeline

Methods

Pipe(ContentReference, CultureInfo, LoaderOptions)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Called before content is loaded from the provider. Implementation can replace reference with another version.

Declaration
ContentReference Pipe(ContentReference contentLink, CultureInfo culture, LoaderOptions loaderOptions)
Parameters
Type Name Description
ContentReference contentLink

The reference that are about to be loaded.

System.Globalization.CultureInfo culture

The culture about to be sent to the provider

LoaderOptions loaderOptions

The loader options sent from the caller of the loader

Returns
Type Description
ContentReference

A potentially replaced reference.

Remarks

It is only supported to swap between versions of a content not between content.

Pipe(IList<ContentReference>, CultureInfo, LoaderOptions)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Called before content is loaded from the provider. Implementation can replace references with other versions.

Declaration
IList<ContentReference> Pipe(IList<ContentReference> contentLinks, CultureInfo culture, LoaderOptions loaderOptions)
Parameters
Type Name Description
System.Collections.Generic.IList<ContentReference> contentLinks

The references that are about to be loaded.

System.Globalization.CultureInfo culture

The culture about to be sent to the provider

LoaderOptions loaderOptions

The loader options sent from the caller of the loader

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

A list including potentially replaced references.

Remarks

It is only supported to swap between versions of a content not between content.

Extension Methods