Class VirtualPathResolver

Exposes a convenient way to access the registered IVirtualPathResolver implementation.

Inheritance
System.Object
VirtualPathResolver
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.7
Syntax
public class VirtualPathResolver

Constructors

VirtualPathResolver()

Declaration
public VirtualPathResolver()

Properties

Instance

Convenience property to get the registered IVirtualPathResolver implementation

Declaration
public static IVirtualPathResolver Instance { get; }
Property Value
Type Description
IVirtualPathResolver
Remarks

The recommendation is to get IVirtualPathResolver from IOC container as a constructor dependency. This is exposed for usage at locations where proper dependency injection is difficult to use.

Extension Methods