Class DefaultRawContentRetriever
Handles creation of Raw
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 |
---|---|---|
IContent |
contentRepository | |
IContent |
contentTypeRepository | |
ILanguage |
languageBranchRepository | |
IContent |
contentCacheKeyCreator | |
ISynchronized |
cacheInstance | |
IRaw |
propertyRetriever |
Methods
CreateRawContent(IContent)
Creates a Raw
Declaration
public virtual RawContent CreateRawContent(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | The content. |
Returns
Type | Description |
---|---|
Raw |
CreateRawContentInfo(ContentReference, String)
Gets the RawContentInfo corresponding to the referenced content
Declaration
public virtual RawContentInfo CreateRawContentInfo(ContentReference contentLink, string languageBranch)
Parameters
Type | Name | Description |
---|---|---|
Content |
contentLink | The content link. |
System. |
languageBranch | The language branch. |
Returns
Type | Description |
---|---|
Raw |
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 |
---|---|
Raw |