Class RawContentRetriever
Handles creation of RawContent isntance.
Inheritance
System.Object
RawContentRetriever
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
Assembly: EPiServer.dll
Version: 8.11.0Syntax
[ServiceConfiguration]
public class RawContentRetriever
Constructors
RawContentRetriever(IContentRepository, IContentTypeRepository, ILanguageBranchRepository)
Initializes a new instance of the RawContentRetriever class.
Declaration
public RawContentRetriever(IContentRepository contentRepository, IContentTypeRepository contentTypeRepository, ILanguageBranchRepository languageBranchRepository)
Parameters
Type | Name | Description |
---|---|---|
IContentRepository | contentRepository | The content repository. |
IContentTypeRepository | contentTypeRepository | The content type repository. |
ILanguageBranchRepository | languageBranchRepository | The language branch repository. |
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 |