Class VirtualPathHostResolver
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
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class VirtualPathHostResolver
Constructors
VirtualPathHostResolver(Func<RequestContext, RouteValueDictionary, String>, ServiceAccessor<SiteDefinition>, SiteDefinitionRepository)
Initializes a new instance of the VirtualPathHostResolver class.
Declaration
public VirtualPathHostResolver(Func<RequestContext, RouteValueDictionary, string> baseUriResolver, ServiceAccessor<SiteDefinition> currentSite, SiteDefinitionRepository siteDefinitionRepository)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Web.Routing.RequestContext, System.Web.Routing.RouteValueDictionary, System.String> | baseUriResolver | |
ServiceAccessor<SiteDefinition> | currentSite | |
SiteDefinitionRepository | 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 |