Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Class PermanentLinkMapperExtensions

Inheritance
System.Object
PermanentLinkMapperExtensions
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: 11.20.7
Syntax
public static class PermanentLinkMapperExtensions

Methods

Find(IPermanentLinkMapper, UrlBuilder)

Finds a PemanentLinkMap for a given permanent url

Declaration
public static PermanentLinkMap Find(this IPermanentLinkMapper permanentLinkMapper, UrlBuilder permanentLink)
Parameters
Type Name Description
IPermanentLinkMapper permanentLinkMapper

The permanent link mapper that is extended

UrlBuilder permanentLink

The URL.

Returns
Type Description
PermanentLinkMap

A PermanentLinkMap if exist, else null is returned

Find(IPermanentLinkMapper, IEnumerable<ContentReference>)

Finds PermanentLinkMaps for a list of ContentReferences

Declaration
public static IEnumerable<PermanentLinkMap> Find(this IPermanentLinkMapper permanentLinkMapper, IEnumerable<ContentReference> contentReferences)
Parameters
Type Name Description
IPermanentLinkMapper permanentLinkMapper

The permanent link mapper that is extended

System.Collections.Generic.IEnumerable<ContentReference> contentReferences

A list of content references.

Returns
Type Description
System.Collections.Generic.IEnumerable<PermanentLinkMap>

A list of PermanentLinkMaps for found contents

Find(IPermanentLinkMapper, IEnumerable<UrlBuilder>)

Finds PemanentLinkMaps for a list of permanent urls

Declaration
public static IEnumerable<PermanentLinkMap> Find(this IPermanentLinkMapper permanentLinkMapper, IEnumerable<UrlBuilder> permanentLinks)
Parameters
Type Name Description
IPermanentLinkMapper permanentLinkMapper

The permanent link mapper that is extended

System.Collections.Generic.IEnumerable<UrlBuilder> permanentLinks

A list of URLs.

Returns
Type Description
System.Collections.Generic.IEnumerable<PermanentLinkMap>

A list of PermanentLinkMaps for found contents

Find(IPermanentLinkMapper, IEnumerable<Guid>)

Finds PemanentLinkMaps for a list of Guids

Declaration
public static IEnumerable<PermanentLinkMap> Find(this IPermanentLinkMapper permanentLinkMapper, IEnumerable<Guid> guids)
Parameters
Type Name Description
IPermanentLinkMapper permanentLinkMapper

The permanent link mapper that is extended

System.Collections.Generic.IEnumerable<System.Guid> guids

A list of GUIDs.

Returns
Type Description
System.Collections.Generic.IEnumerable<PermanentLinkMap>

A list of PermanentLinkMaps for found contents