Interface IVirtualPathResolver
Resolves virtual path with respect to virtual application.
Namespace: EPiServer.Web
Assembly: EPiServer.Framework.dll
Version: 11.20.7Syntax
public interface IVirtualPathResolver
Methods
ToAbsolute(String)
Converts a virtual path to an application absolute path.
Declaration
string ToAbsolute(string virtualPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | virtualPath | The virtual path to convert to an application-relative path |
Returns
Type | Description |
---|---|
System.String | The absolute path representation of the specified virtual path. |
ToAppRelative(String)
Converts a virtual path to an application-relative path.
Declaration
string ToAppRelative(string virtualPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | virtualPath | The virtual path to convert to an application-relative path. |
Returns
Type | Description |
---|---|
System.String | The application-relative path representation of virtualPath. |