Class BackOfficeCultureFilter
Applied to all Umbraco controllers to ensure the thread culture is set to the culture assigned to the back office identity
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.Filters
Assembly: Umbraco.Web.Common.dll
Syntax
public class BackOfficeCultureFilter : IActionFilter, IFilterMetadata
Methods
View SourceOnActionExecuted(ActionExecutedContext)
Declaration
public void OnActionExecuted(ActionExecutedContext context)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext | context |
OnActionExecuting(ActionExecutingContext)
Declaration
public void OnActionExecuting(ActionExecutingContext context)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext | context |