Class SitecoreLayoutContextControllerFilter
Version: 21.x
Identifies the current controller for the SitecoreRenderingContext.
Inheritance
System.Object
SitecoreLayoutContextControllerFilter
Implements
Microsoft.AspNetCore.Mvc.Filters.IActionFilter
Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
Namespace: Sitecore.AspNet.RenderingEngine.Filters
Assembly: Sitecore.AspNet.RenderingEngine.dll
Syntax
RequestResponse
public class SitecoreLayoutContextControllerFilter : ObjectConstructors
SitecoreLayoutContextControllerFilter()
Declaration
RequestResponse
public SitecoreLayoutContextControllerFilter()Methods
OnActionExecuted(ActionExecutedContext)
Declaration
RequestResponse
public void OnActionExecuted(ActionExecutedContext context)Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext | context |
OnActionExecuting(ActionExecutingContext)
Declaration
RequestResponse
public void OnActionExecuting(ActionExecutingContext context)Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext | context |
Implements
Microsoft.AspNetCore.Mvc.Filters.IActionFilter
Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata