Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Interface IContentProviderManager

Defines signatures a the component managing Content providers, see ContentProvider.

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

Properties

ProviderMap

Gets the mapping of Content providers.

Declaration
ContentProviderMap ProviderMap { get; }
Property Value
Type Description
ContentProviderMap

The provider map.

Methods

GetProvider(String)

Gets the content provider for a provider name.

Declaration
ContentProvider GetProvider(string providerName)
Parameters
Type Name Description
System.String providerName

Name of the provider.

Returns
Type Description
ContentProvider

The page provider as an ContentProvider.

HasEntryPointChild(ContentReference)

Check if this content reference is or has entry point as child.

Declaration
bool HasEntryPointChild(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink
Returns
Type Description
System.Boolean

true if content itself or some of it's descendants is an entry point to a content provider

IsCapabilitySupported(ContentReference, ContentProviderCapabilities)

Determines whether the content provider serving the specified content has the specified capability.

Declaration
bool IsCapabilitySupported(ContentReference contentLink, ContentProviderCapabilities capability)
Parameters
Type Name Description
ContentReference contentLink

The content link.

ContentProviderCapabilities capability

The capability.

Returns
Type Description
System.Boolean

true if the provider supprots the specified capability; otherwise, false.

IsWastebasket(ContentReference)

Determines whether the specified content link is wastebasket for any content provider

Declaration
bool IsWastebasket(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink

The content link.

Returns
Type Description
System.Boolean

true if the specified content link is wastebasket; otherwise, false.

Extension Methods