Try our conversational search powered by Generative AI!

Interface IRawContentRetriever

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Used to get a data transfer format for an IContent instance.

Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IRawContentRetriever

Methods

CreateRawContentInfo(ContentReference, String)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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

Extension Methods