Class RawContentRetriever
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Handles creation of RawContent isntance.
Inheritance
System.Object
RawContentRetriever
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: 10.10.4Syntax
[ServiceConfiguration(typeof(IRawContentRetriever))]
public class RawContentRetriever : IRawContentRetriever
Constructors
RawContentRetriever(IContentRepository, IContentTypeRepository, ILanguageBranchRepository, IContentCacheKeyCreator, ISynchronizedObjectInstanceCache)
Declaration
public RawContentRetriever(IContentRepository contentRepository, IContentTypeRepository contentTypeRepository, ILanguageBranchRepository languageBranchRepository, IContentCacheKeyCreator contentCacheKeyCreator, ISynchronizedObjectInstanceCache cacheInstance)
Parameters
Type | Name | Description |
---|---|---|
IContentRepository | contentRepository | |
IContentTypeRepository | contentTypeRepository | |
ILanguageBranchRepository | languageBranchRepository | |
IContentCacheKeyCreator | contentCacheKeyCreator | |
ISynchronizedObjectInstanceCache | cacheInstance |
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 |