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

Class VirutalPathResolverExtensions

Extension methods for IVirtualPathResolver

Inheritance
System.Object
VirutalPathResolverExtensions
Namespace: EPiServer.Web
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public static class VirutalPathResolverExtensions : Object

Methods

ToAbsoluteOrSame(IVirtualPathResolver, String)

Creates an absolute virtual path for relative virtual paths while inputs that is not qualified as valid relative virtual paths are returned untouched

Declaration
public static string ToAbsoluteOrSame(this IVirtualPathResolver virtualPathResolver, string virtualPath)
Parameters
Type Name Description
IVirtualPathResolver virtualPathResolver

The virtual path resolver that is extended

System.String virtualPath

The virtual path to make absolute

Returns
Type Description
System.String