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

Class SoftLinkFactory

Inheritance
System.Object
SoftLinkFactory
Namespace: EPiServer.DataAbstraction.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class SoftLinkFactory : Object

Constructors

SoftLinkFactory(IPermanentLinkMapper)

Initializes a new instance of the SoftLinkFactory class.

Declaration
public SoftLinkFactory(IPermanentLinkMapper permanentLinkMapper)
Parameters
Type Name Description
IPermanentLinkMapper permanentLinkMapper

Methods

Create(IContent)

Creates a SoftLink for the specified owner content.

Declaration
public virtual SoftLink Create(IContent owner)
Parameters
Type Name Description
IContent owner

The owner content where the link is present.

Returns
Type Description
SoftLink

A SoftLink instance initialized for the provided owner content.

Extension Methods