November Happy Hour will be moved to Thursday December 5th.

Class PropertyXhtmlTransform.LinkReplacer

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Class that handles links in export packages.

Inheritance
System.Object
PropertyXhtmlTransform.LinkReplacer
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: 10.10.4
Syntax
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.

Extension Methods