Class SoftLinkFactory
This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
Inheritance
System.Object
SoftLinkFactory
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.DataAbstraction
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class SoftLinkFactory
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. |