Class DefaultContentExporter
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
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: 11.20.7Syntax
[ServiceConfiguration(typeof(IContentExporter), IncludeServiceAccessor = false)]
public class DefaultContentExporter : 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 |