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

Class DefaultContentExporter

Inheritance
System.Object
DefaultContentExporter
Implements
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.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
[ServiceConfiguration(typeof(IContentExporter), IncludeServiceAccessor = false)]
public class DefaultContentExporter : IContentExporter

Constructors

DefaultContentExporter(IPrincipalAccessor, IRawContentRetriever, ContentLanguageSettingRepository, IContentTypeRepository, IContentRepository, IDependentContentTransfer, IDynamicPropertiesLoader)

Declaration
public DefaultContentExporter(IPrincipalAccessor principalAccessor, IRawContentRetriever rawContentRetiever, ContentLanguageSettingRepository settingsRepository, IContentTypeRepository contentTypeRepository, IContentRepository contentRepository, IDependentContentTransfer dependentContentTransfer, IDynamicPropertiesLoader dynamicPropertiesLoader)
Parameters
Type Name Description
IPrincipalAccessor principalAccessor
IRawContentRetriever rawContentRetiever
ContentLanguageSettingRepository settingsRepository
IContentTypeRepository contentTypeRepository
IContentRepository contentRepository
IDependentContentTransfer dependentContentTransfer
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(RawContentInfo, IContentTransferContext)

Declaration
protected virtual void HandleDependentContent(RawContentInfo rawContentInfo, IContentTransferContext context)
Parameters
Type Name Description
RawContentInfo rawContentInfo
IContentTransferContext context

Implements

Extension Methods