Class VirutalPathResolverExtensions
Extension methods for IVirtualPathResolver
Inheritance
System.Object
VirutalPathResolverExtensions
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.Framework.dll
Version: 11.20.7Syntax
public static class VirutalPathResolverExtensions
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 |