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

Class VirtualPathHostResolver

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

Inheritance
System.Object
VirtualPathHostResolver
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.Routing.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public class VirtualPathHostResolver

Constructors

VirtualPathHostResolver(Func<RequestContext, RouteValueDictionary, String>, ServiceAccessor<SiteDefinition>, ISiteDefinitionRepository)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the VirtualPathHostResolver class.

Declaration
public VirtualPathHostResolver(Func<RequestContext, RouteValueDictionary, string> baseUriResolver, ServiceAccessor<SiteDefinition> currentSite, ISiteDefinitionRepository siteDefinitionRepository)
Parameters
Type Name Description
System.Func<System.Web.Routing.RequestContext, System.Web.Routing.RouteValueDictionary, System.String> baseUriResolver
ServiceAccessor<SiteDefinition> currentSite
ISiteDefinitionRepository siteDefinitionRepository

Methods

GetVirtualPathHost(RequestContext, RouteValueDictionary)

Declaration
public virtual HostDefinition GetVirtualPathHost(RequestContext requestContext, RouteValueDictionary values)
Parameters
Type Name Description
System.Web.Routing.RequestContext requestContext
System.Web.Routing.RouteValueDictionary values
Returns
Type Description
HostDefinition

Extension Methods