November Happy Hour will be moved to Thursday December 5th.

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: 9.12.2
Syntax
[ServiceConfiguration]
public class RawContentRetriever

Constructors

RawContentRetriever(IContentRepository, IContentTypeRepository, ILanguageBranchRepository)

Initializes a new instance of the RawContentRetriever class.

Declaration
[Obsolete("Use another constructor")]
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.

RawContentRetriever(IContentRepository, IContentTypeRepository, ILanguageBranchRepository, IContentCacheKeyCreator)

Declaration
[Obsolete("Use another constructor")]
public RawContentRetriever(IContentRepository contentRepository, IContentTypeRepository contentTypeRepository, ILanguageBranchRepository languageBranchRepository, IContentCacheKeyCreator contentCacheKeyCreator)
Parameters
Type Name Description
IContentRepository contentRepository
IContentTypeRepository contentTypeRepository
ILanguageBranchRepository languageBranchRepository
IContentCacheKeyCreator contentCacheKeyCreator

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)

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

Extension Methods