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

Class ContentProviderManagerExtensions

Extends IContentProviderManager with convinent methods.

Inheritance
System.Object
ContentProviderManagerExtensions
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public static class ContentProviderManagerExtensions : Object

Methods

GetProvider(IContentProviderManager, ContentReference)

Gets the provider where a specific content is stored.

Declaration
public static ContentProvider GetProvider(this IContentProviderManager contentProviderManager, ContentReference contentLink)
Parameters
Type Name Description
IContentProviderManager contentProviderManager

The content provider manager.

ContentReference contentLink

The reference to find the provider for.

Returns
Type Description
ContentProvider

The page store as an ContentProvider.