View Source
The route value transformer for Umbraco front-end routes
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.Routing.DynamicRouteValueTransformer
Assembly: Umbraco.Web.Website.dll
public class UmbracoRouteValueTransformer : DynamicRouteValueTransformer
Constructors
View Source
UmbracoRouteValueTransformer(ILogger<UmbracoRouteValueTransformer>, IUmbracoContextAccessor, IPublishedRouter, IRuntimeState, IUmbracoRouteValuesFactory, IRoutableDocumentFilter, IDataProtectionProvider, IControllerActionSearcher, IPublicAccessRequestHandler)
Declaration
public UmbracoRouteValueTransformer(ILogger<UmbracoRouteValueTransformer> logger, IUmbracoContextAccessor umbracoContextAccessor, IPublishedRouter publishedRouter, IRuntimeState runtime, IUmbracoRouteValuesFactory routeValuesFactory, IRoutableDocumentFilter routableDocumentFilter, IDataProtectionProvider dataProtectionProvider, IControllerActionSearcher controllerActionSearcher, IPublicAccessRequestHandler publicAccessRequestHandler)
Parameters
View Source
UmbracoRouteValueTransformer(ILogger<UmbracoRouteValueTransformer>, IUmbracoContextAccessor, IPublishedRouter, IRuntimeState, IUmbracoRouteValuesFactory, IRoutableDocumentFilter, IDataProtectionProvider, IControllerActionSearcher, IPublicAccessRequestHandler, IUmbracoVirtualPageRoute)
Declaration
public UmbracoRouteValueTransformer(ILogger<UmbracoRouteValueTransformer> logger, IUmbracoContextAccessor umbracoContextAccessor, IPublishedRouter publishedRouter, IRuntimeState runtime, IUmbracoRouteValuesFactory routeValuesFactory, IRoutableDocumentFilter routableDocumentFilter, IDataProtectionProvider dataProtectionProvider, IControllerActionSearcher controllerActionSearcher, IPublicAccessRequestHandler publicAccessRequestHandler, IUmbracoVirtualPageRoute umbracoVirtualPageRoute)
Parameters
View Source
UmbracoRouteValueTransformer(ILogger<UmbracoRouteValueTransformer>, IUmbracoContextAccessor, IPublishedRouter, IRuntimeState, IUmbracoRouteValuesFactory, IRoutableDocumentFilter, IDataProtectionProvider, IControllerActionSearcher, IPublicAccessRequestHandler, IUmbracoVirtualPageRoute, IOptionsMonitor<GlobalSettings>)
Declaration
public UmbracoRouteValueTransformer(ILogger<UmbracoRouteValueTransformer> logger, IUmbracoContextAccessor umbracoContextAccessor, IPublishedRouter publishedRouter, IRuntimeState runtime, IUmbracoRouteValuesFactory routeValuesFactory, IRoutableDocumentFilter routableDocumentFilter, IDataProtectionProvider dataProtectionProvider, IControllerActionSearcher controllerActionSearcher, IPublicAccessRequestHandler publicAccessRequestHandler, IUmbracoVirtualPageRoute umbracoVirtualPageRoute, IOptionsMonitor<GlobalSettings> globalSettings)
Parameters
View Source
UmbracoRouteValueTransformer(ILogger<UmbracoRouteValueTransformer>, IUmbracoContextAccessor, IPublishedRouter, IOptions<GlobalSettings>, IHostingEnvironment, IRuntimeState, IUmbracoRouteValuesFactory, IRoutableDocumentFilter, IDataProtectionProvider, IControllerActionSearcher, IEventAggregator, IPublicAccessRequestHandler)
Declaration
public UmbracoRouteValueTransformer(ILogger<UmbracoRouteValueTransformer> logger, IUmbracoContextAccessor umbracoContextAccessor, IPublishedRouter publishedRouter, IOptions<GlobalSettings> globalSettings, IHostingEnvironment hostingEnvironment, IRuntimeState runtime, IUmbracoRouteValuesFactory routeValuesFactory, IRoutableDocumentFilter routableDocumentFilter, IDataProtectionProvider dataProtectionProvider, IControllerActionSearcher controllerActionSearcher, IEventAggregator eventAggregator, IPublicAccessRequestHandler publicAccessRequestHandler)
Parameters
Methods
View Source
TransformAsync(HttpContext, RouteValueDictionary)
Declaration
public override async ValueTask<RouteValueDictionary> TransformAsync(HttpContext httpContext, RouteValueDictionary values)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Http.HttpContext |
httpContext |
|
Microsoft.AspNetCore.Routing.RouteValueDictionary |
values |
|
Returns
Type |
Description |
ValueTask<Microsoft.AspNetCore.Routing.RouteValueDictionary> |
|