Class ContentProviderManagerExtensions
Extends IContentProviderManager with convinent methods.
Inheritance
System.Object
ContentProviderManagerExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public static class ContentProviderManagerExtensions
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. |