Interface IRawContentRetriever
Used to get a data transfer format for an IContent instance.
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public interface IRawContentRetriever
Methods
CreateRawContentInfo(ContentReference, String)
Creates an RawContentInfo corresponding to the referenced content.
Declaration
RawContentInfo CreateRawContentInfo(ContentReference contentLink, string languageBranch)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The content link to get raw representation for |
System.String | languageBranch | The language branch to get raw representation for. If null is given master language is used |
Returns
Type | Description |
---|---|
RawContentInfo | An RawContentInfo instance |
Remarks
If languageBranch
is null the master language for the content instance is used.
CreateRawContentInfo(IContent)
Creates an RawContentInfo instance from an IContent instance.
Declaration
RawContentInfo CreateRawContentInfo(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | The IContent instance to get an raw representation for |
Returns
Type | Description |
---|---|
RawContentInfo | An RawContentInfo instance |