Class DefaultRawContentRetriever
Handles creation of RawContent instances.
Inheritance
System.Object
DefaultRawContentRetriever
Implements
Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ServiceConfiguration]
public class DefaultRawContentRetriever : Object, IRawContentRetriever
Constructors
DefaultRawContentRetriever(IContentRepository, IContentTypeRepository, ILanguageBranchRepository, IContentCacheKeyCreator, ISynchronizedObjectInstanceCache, IRawPropertyRetriever)
Declaration
public DefaultRawContentRetriever(IContentRepository contentRepository, IContentTypeRepository contentTypeRepository, ILanguageBranchRepository languageBranchRepository, IContentCacheKeyCreator contentCacheKeyCreator, ISynchronizedObjectInstanceCache cacheInstance, IRawPropertyRetriever propertyRetriever)
Parameters
Type | Name | Description |
---|---|---|
IContentRepository | contentRepository | |
IContentTypeRepository | contentTypeRepository | |
ILanguageBranchRepository | languageBranchRepository | |
IContentCacheKeyCreator | contentCacheKeyCreator | |
ISynchronizedObjectInstanceCache | cacheInstance | |
IRawPropertyRetriever | propertyRetriever |
Methods
CreateRawContent(IContent)
Creates a RawContent from an IContent instance.
Declaration
public virtual RawContent CreateRawContent(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | The content. |
Returns
Type | Description |
---|---|
RawContent |
CreateRawContentInfo(ContentReference, String)
Gets the RawContentInfo corresponding to the referenced content
Declaration
public virtual RawContentInfo CreateRawContentInfo(ContentReference contentLink, string languageBranch)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The content link. |
System.String | languageBranch | The language branch. |
Returns
Type | Description |
---|---|
RawContentInfo | A RawPageInfo instance |
CreateRawContentInfo(IContent)
Creates the raw content info.
Declaration
public virtual RawContentInfo CreateRawContentInfo(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | The content. |
Returns
Type | Description |
---|---|
RawContentInfo |