Class DependentContentTransfer
Class that handles dependent content in export
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
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public class DependentContentTransfer : IDependentContentTransferConstructors
DependentContentTransfer(IContentLoader, IContentTypeRepository, IPermanentLinkMapper, SiteDefinitionRepository, SystemDefinition)
Initializes a new instance of the DependentContentTransfer class.
Declaration
public DependentContentTransfer(IContentLoader contentLoader, IContentTypeRepository contentTypeRepository, IPermanentLinkMapper permanentLinkMapper, SiteDefinitionRepository siteRepository, SystemDefinition systemDefinition)Parameters
| Type | Name | Description | 
|---|---|---|
| IContentLoader | contentLoader | The content repository. | 
| IContentTypeRepository | contentTypeRepository | The content type repository. | 
| IPermanentLinkMapper | permanentLinkMapper | The permanent link mapper. | 
| SiteDefinitionRepository | siteRepository | The site repository | 
| SystemDefinition | systemDefinition | The system definition | 
Properties
ContentLoader
Declaration
protected virtual IContentLoader ContentLoader { get; set; }Property Value
| Type | Description | 
|---|---|
| IContentLoader | 
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
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 SiteDefinitionRepository SiteDefinitionRepository { get; set; }Property Value
| Type | Description | 
|---|---|
| SiteDefinitionRepository | 
SystemDefinition
Declaration
protected virtual SystemDefinition SystemDefinition { get; set; }Property Value
| Type | Description | 
|---|---|
| SystemDefinition | 
TransferContext
Gets or sets the transfer context.
Declaration
public IContentTransferContext TransferContext { get; set; }Property Value
| Type | Description | 
|---|---|
| IContentTransferContext | The transfer context. | 
Methods
EnsureContentTypeInPackage(IContent)
Ensures the content type in package.
Declaration
protected virtual void EnsureContentTypeInPackage(IContent content)Parameters
| Type | Name | Description | 
|---|---|---|
| IContent | content | The content. | 
ExistInPackage(IContent)
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)
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)
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 | 
