Interface IContentProviderManager
Defines signatures a the component managing Content providers, see ContentProvider.
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 8.11.0Syntax
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 |
|
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 |
|
ResolveContentFolder(Int32)
Tries to resolve which content that owns the resource folder with specified id.
Declaration
ContentReference ResolveContentFolder(int contentFolderId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentFolderId | The resource folder id. |
Returns
Type | Description |
---|---|
ContentReference | The link to the content if match is found else ContentReference.EmptyReference is returned. |