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.Cms.AspNet.dll
Version: 11.20.7Syntax
public class VirtualPathHostResolver
Constructors
VirtualPathHostResolver()
Declaration
protected VirtualPathHostResolver()
VirtualPathHostResolver(Func<RequestContext, RouteValueDictionary, String>, ServiceAccessor<SiteDefinition>, ISiteDefinitionRepository, RoutingOptions)
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, RoutingOptions routingOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Web.Routing.RequestContext, System.Web.Routing.RouteValueDictionary, System.String> | baseUriResolver | |
ServiceAccessor<SiteDefinition> | currentSite | |
ISiteDefinitionRepository | siteDefinitionRepository | |
RoutingOptions | routingOptions |
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 |