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

Class PermanentPageLinkMap

Handles conversion between permanent links and classic links for page links.

Inheritance
System.Object
PermanentPageLinkMap
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.Web
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
[Obsolete("This class have been replaced with PermanentContentLinkMap")]
public class PermanentPageLinkMap : PermanentContentLinkMap

Constructors

PermanentPageLinkMap(Guid, String, Uri, PageReference, PageMapSettings)

Initializes a new instance of the PermanentPageLinkMap class.

Declaration
public PermanentPageLinkMap(Guid guid, string extension, Uri mappedUrl, PageReference contentReference, PageMapSettings settings)
Parameters
Type Name Description
System.Guid guid

The GUID.

System.String extension

The extension.

System.Uri mappedUrl

The mapped URL.

PageReference contentReference

The page reference.

PageMapSettings settings

The settings.

PermanentPageLinkMap(Uri)

Initializes a new instance of the PermanentPageLinkMap class.

Declaration
protected PermanentPageLinkMap(Uri url)
Parameters
Type Name Description
System.Uri url

The URL.

Properties

PageReference

Gets or sets the page reference.

Declaration
public PageReference PageReference { get; set; }
Property Value
Type Description
PageReference

The page reference.

Methods

AddResolver(IPageResolver)

Adds a page resolver to be quieried when resolving page links.

Declaration
[Obsolete("Use PermanentContentLinkMapper.Instance and IContentResolver")]
public static void AddResolver(IPageResolver pageResolver)
Parameters
Type Name Description
IPageResolver pageResolver

The page resolver.

ClearResolvers()

Clears the list of page resolvers.

Declaration
[Obsolete("Use PermanentPageLinkMapStore.Instance")]
public static void ClearResolvers()

InitializeResolvers(IEnumerable)

Initializes a list of resolvers.

Declaration
[Obsolete("Use PermanentPageLinkMapStore.Instance")]
public static void InitializeResolvers(IEnumerable resolvers)
Parameters
Type Name Description
System.Collections.IEnumerable resolvers

The resolvers.

Remarks

Will basically do the same as ClearResolvers followed by AddResolvers for all resolvers in the list.

Extension Methods