Class UmbracoVirtualPageFilterAttribute
Used to set the UmbracoRouteValues request feature based on the Umbraco.Cms.Web.Common.Routing.CustomRouteContentFinderDelegate specified (if any) for the custom route.
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.Filters
Assembly: Umbraco.Web.Common.dll
Syntax
public class UmbracoVirtualPageFilterAttribute : Attribute, IAsyncActionFilter, IFilterMetadata
Methods
View SourceOnActionExecutionAsync(ActionExecutingContext, ActionExecutionDelegate)
Declaration
public async Task OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext | context | |
| Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate | next |
Returns
| Type | Description |
|---|---|
| Task |