Class DefaultRawContentRetriever
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Handles creation of RawContent instances.
Inheritance
System.Object
DefaultRawContentRetriever
Implements
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.Transfer.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
[ServiceConfiguration(typeof(IRawContentRetriever))]
public class DefaultRawContentRetriever : 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)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates the raw content info.
Declaration
public virtual RawContentInfo CreateRawContentInfo(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | The content. |
Returns
Type | Description |
---|---|
RawContentInfo |