Class PermanentFileLinkMapper
Permanent link map for Virtual Path Provider files
Inheritance
System.Object
PermanentFileLinkMapper
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: 8.11.0Syntax
[ServiceConfiguration(FactoryMember = "Instance")]
public class PermanentFileLinkMapper
Constructors
PermanentFileLinkMapper()
Declaration
public PermanentFileLinkMapper()
Properties
Instance
The global permanent file link mapper instance. This is not intended to be set by external code.
Declaration
public static PermanentFileLinkMapper Instance { get; set; }
Property Value
Type | Description |
---|---|
PermanentFileLinkMapper |
Methods
AddResolver(IFileResolver)
Adds the resolver to the end of the resolver list.
Declaration
public void AddResolver(IFileResolver resolver)
Parameters
Type | Name | Description |
---|---|---|
IFileResolver | resolver | The resolver. |
Remarks
The resolver will be called to resolve links between permanent link and mapped format.
ClearResolvers()
Clears the list of resolvers.
Declaration
public void ClearResolvers()
InsertResolver(IFileResolver)
Inserts the resolver at the start of the resolver list.
Declaration
public void InsertResolver(IFileResolver resolver)
Parameters
Type | Name | Description |
---|---|---|
IFileResolver | resolver | The resolver. |
Remarks
The resolver will be called to resolve links between permanent link and mapped format.