Class DependentContentTransfer
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Class that handles dependent content in export
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[ServiceConfiguration(typeof(IDependentContentTransfer))]
public class DependentContentTransfer : IDependentContentTransfer
Constructors
DependentContentTransfer(IContentLoader, IContentTypeRepository, IPermanentLinkMapper, ISiteDefinitionRepository, ContentRootService)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the DependentContentTransfer class.
Declaration
public DependentContentTransfer(IContentLoader contentLoader, IContentTypeRepository contentTypeRepository, IPermanentLinkMapper permanentLinkMapper, ISiteDefinitionRepository siteRepository, ContentRootService contentRootService)
Parameters
Type | Name | Description |
---|---|---|
IContentLoader | contentLoader | The content repository. |
IContentTypeRepository | contentTypeRepository | The content type repository. |
IPermanentLinkMapper | permanentLinkMapper | The permanent link mapper. |
ISiteDefinitionRepository | siteRepository | The site repository |
ContentRootService | contentRootService | The content root service |
Properties
ContentLoader
Declaration
protected virtual IContentLoader ContentLoader { get; set; }
Property Value
Type | Description |
---|---|
IContentLoader |
ContentRootService
Declaration
protected virtual ContentRootService ContentRootService { get; set; }
Property Value
Type | Description |
---|---|
ContentRootService |
ContentTypeRepository
Declaration
protected virtual IContentTypeRepository ContentTypeRepository { get; set; }
Property Value
Type | Description |
---|---|
IContentTypeRepository |
PermanentLinkMapper
Declaration
protected virtual IPermanentLinkMapper PermanentLinkMapper { get; set; }
Property Value
Type | Description |
---|---|
IPermanentLinkMapper |
Roots
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. All roots on site that will be ignored and never treated as dependent content
Declaration
public IList<ContentReference> Roots { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ContentReference> |
SiteDefinitionRepository
Declaration
protected virtual ISiteDefinitionRepository SiteDefinitionRepository { get; set; }
Property Value
Type | Description |
---|---|
ISiteDefinitionRepository |
TransferContext
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the transfer context.
Declaration
public IContentTransferContext TransferContext { get; set; }
Property Value
Type | Description |
---|---|
IContentTransferContext | The transfer context. |
Methods
EnsureContentTypeInPackage(IContent)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Ensures the content type in package.
Declaration
protected virtual void EnsureContentTypeInPackage(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | The content. |
ExistInPackage(IContent)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Exists in the package.
Declaration
protected virtual bool ExistInPackage(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | The content item. |
Returns
Type | Description |
---|---|
System.Boolean |
ExportDependentContent(IContent)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. handles export of an ContentFragment instance.
Declaration
public virtual void ExportDependentContent(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | The content. |
IsInContentAssetFolder(IContent)
Declaration
protected virtual bool IsInContentAssetFolder(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content |
Returns
Type | Description |
---|---|
System.Boolean |
ShouldIncludeReferencedContent(IContent)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Shoulds the content of the inlcude referenced.
Declaration
public virtual bool ShouldIncludeReferencedContent(IContent content)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | The content. |
Returns
Type | Description |
---|---|
System.Boolean |