Interface IFileResolver
Interface used by PermanentLinkMapStore to resolve a file
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public interface IFileResolver
Methods
ResolveFile(Guid)
Tries to resolve a GUID to a file.
Declaration
string ResolveFile(Guid guid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | guid | The GUID. |
Returns
Type | Description |
---|---|
System.String | The virtual path of the file, or null if the GUID was not found. |
ResolveFile(String, out Guid)
Tries to resolve a file to a GUID.
Declaration
string ResolveFile(string virtualPath, out Guid guid)
Parameters
Type | Name | Description |
---|---|---|
System.String | virtualPath | The virtual path. |
System.Guid | guid | The resolved GUID. |
Returns
Type | Description |
---|---|
System.String | A normalized representation of the virtual path to the file, or null if the GUID was not found. |