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

Class PermanentLinkMapperExtensions

Inheritance
System.Object
PermanentLinkMapperExtensions
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public static class PermanentLinkMapperExtensions : Object

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