Class PropertyXhtmlTransform.LinkReplacer
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Class that handles links in export packages.
Inheritance
Inherited Members
Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public class LinkReplacer
Constructors
LinkReplacer(IContentTransferContext)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the PropertyXhtmlTransform.LinkReplacer class.
Declaration
public LinkReplacer(IContentTransferContext transferContext)
Parameters
Type | Name | Description |
---|---|---|
IContentTransferContext | transferContext | The transfer context. |
LinkReplacer(IContentTransferContext, IPermanentLinkMapper)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the PropertyXhtmlTransform.LinkReplacer class.
Declaration
public LinkReplacer(IContentTransferContext transferContext, IPermanentLinkMapper permanentLinkMapper)
Parameters
Type | Name | Description |
---|---|---|
IContentTransferContext | transferContext | The transfer context. |
IPermanentLinkMapper | permanentLinkMapper | Custom PermanentLinkMapper |
Methods
ExportLinksAndAddFiles(String)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. A helper function to add files refered in the XHTML to a export package.
Declaration
public string ExportLinksAndAddFiles(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | (A dummy parameter to fullfill the contract for the TranslateUrl delegate) |
Returns
Type | Description |
---|---|
System.String | Always the same as the parameter url, so the link is not replaced. |