View Source
Class RenderRouteHandler
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class RenderRouteHandler : IRouteHandler
Constructors
View Source
RenderRouteHandler(IUmbracoContextAccessor, IControllerFactory)
Declaration
public RenderRouteHandler(IUmbracoContextAccessor umbracoContextAccessor, IControllerFactory controllerFactory)
Parameters
View Source
RenderRouteHandler(UmbracoContext, IControllerFactory)
Declaration
public RenderRouteHandler(UmbracoContext umbracoContext, IControllerFactory controllerFactory)
Parameters
Type |
Name |
Description |
UmbracoContext |
umbracoContext |
|
IControllerFactory |
controllerFactory |
|
Methods
View Source
GetHttpHandler(RequestContext)
Assigns the correct controller based on the Umbraco request and returns a standard MvcHandler to process the response,
this also stores the render model into the data tokens for the current RouteData.
Declaration
public IHttpHandler GetHttpHandler(RequestContext requestContext)
Parameters
Type |
Name |
Description |
System.Web.Routing.RequestContext |
requestContext |
|
Returns
Type |
Description |
System.Web.IHttpHandler |
|