Class VirtualPathResolver
Exposes a convenient way to access the registered IVirtualPathResolver implementation.
Inheritance
System.Object
VirtualPathResolver
Namespace: EPiServer.Web
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public class VirtualPathResolver : Object
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.