Class PropertyXhtmlTransform.LinkReplacer
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
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public class LinkReplacerConstructors
LinkReplacer(IContentTransferContext)
Initializes a new instance of the PropertyXhtmlTransform.LinkReplacer class.
Declaration
public LinkReplacer(IContentTransferContext transferContext)Parameters
| Type | Name | Description | 
|---|---|---|
| IContentTransferContext | transferContext | The transfer context. | 
Methods
ExportLinksAndAddFiles(String)
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. | 
