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

Class DefaultContentExporter

Inheritance
System.Object
DefaultContentExporter
Implements
Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class DefaultContentExporter : Object, IContentExporter

Constructors

DefaultContentExporter(IPrincipalAccessor, IRawContentRetriever, IRawPropertyRetriever, IPropertyExporter, ContentLanguageSettingRepository, IContentTypeRepository, IContentLoader, IImplicitContentExporter, IDynamicPropertiesLoader)

Declaration
public DefaultContentExporter(IPrincipalAccessor principalAccessor, IRawContentRetriever rawContentRetiever, IRawPropertyRetriever rawPropertyRetriever, IPropertyExporter propertyExporter, ContentLanguageSettingRepository settingsRepository, IContentTypeRepository contentTypeRepository, IContentLoader contentLoader, IImplicitContentExporter implicitContentExporter, IDynamicPropertiesLoader dynamicPropertiesLoader)
Parameters
Type Name Description
IPrincipalAccessor principalAccessor
IRawContentRetriever rawContentRetiever
IRawPropertyRetriever rawPropertyRetriever
IPropertyExporter propertyExporter
ContentLanguageSettingRepository settingsRepository
IContentTypeRepository contentTypeRepository
IContentLoader contentLoader
IImplicitContentExporter implicitContentExporter
IDynamicPropertiesLoader dynamicPropertiesLoader

Methods

EnsureContentTypeInPackage(Int32, IContentTransferContext, TransferExportOptions)

Declaration
protected virtual void EnsureContentTypeInPackage(int contentTypeId, IContentTransferContext context, TransferExportOptions options)
Parameters
Type Name Description
System.Int32 contentTypeId
IContentTransferContext context
TransferExportOptions options

Export(IContent, AccessLevel, IContentTransferContext, TransferExportOptions)

Declaration
public virtual ITransferContentData Export(IContent content, AccessLevel requiredSourceAccess, IContentTransferContext context, TransferExportOptions options)
Parameters
Type Name Description
IContent content
AccessLevel requiredSourceAccess
IContentTransferContext context
TransferExportOptions options
Returns
Type Description
ITransferContentData

HandleDependentContent(IContent, IContentTransferContext)

Declaration
protected virtual void HandleDependentContent(IContent content, IContentTransferContext context)
Parameters
Type Name Description
IContent content
IContentTransferContext context

Implements

Extension Methods