Class ContentFragmentTransfer
Class that handles export of ContentFragment.
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: 8.11.0Syntax
[ServiceConfiguration]
public class ContentFragmentTransfer : DependentContentTransfer, IDependentContentTransfer
Constructors
ContentFragmentTransfer(IContentRepository, IContentTypeRepository, IPermanentLinkMapper, SiteDefinitionRepository, ContentRootService)
Initializes a new instance of the ContentFragmentTransfer class.
Declaration
public ContentFragmentTransfer(IContentRepository contentRepository, IContentTypeRepository contentTypeRepository, IPermanentLinkMapper permanentLinkMapper, SiteDefinitionRepository siteRepository, ContentRootService contentRootService)
Parameters
Type | Name | Description |
---|---|---|
IContentRepository | contentRepository | The content repository. |
IContentTypeRepository | contentTypeRepository | The content type repository. |
IPermanentLinkMapper | permanentLinkMapper | The permanent link mapper. |
SiteDefinitionRepository | siteRepository | The site repository |
ContentRootService | contentRootService | The content root service |
ContentFragmentTransfer(IContentRepository, IContentTypeRepository, IPermanentLinkMapper, SiteDefinitionRepository, SystemDefinition)
Initializes a new instance of the ContentFragmentTransfer class.
Declaration
[Obsolete("Use ContentFragmentTransfer(IContentRepository, IContentTypeRepository, IPermanentLinkMapper, SiteDefinitionRepository, SystemDefinition, ContentRootService)")]
public ContentFragmentTransfer(IContentRepository contentRepository, IContentTypeRepository contentTypeRepository, IPermanentLinkMapper permanentLinkMapper, SiteDefinitionRepository siteRepository, SystemDefinition systemDefinition)
Parameters
Type | Name | Description |
---|---|---|
IContentRepository | contentRepository | 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 |
Methods
EnsureContentReferenceAsGuid(ContentFragment)
Declaration
protected virtual void EnsureContentReferenceAsGuid(ContentFragment contentFragment)
Parameters
Type | Name | Description |
---|---|---|
ContentFragment | contentFragment |
ExportContentFragment(ContentFragment)
handles export of an ContentFragment instance.
Declaration
public virtual void ExportContentFragment(ContentFragment contentFragment)
Parameters
Type | Name | Description |
---|---|---|
ContentFragment | contentFragment | The content fragment. |