ControllerContext ControllerContext ControllerContext Class


The context associated with the current request for a controller.

public class ControllerContext : Microsoft.AspNetCore.Mvc.ActionContext
type ControllerContext = class
    inherit ActionContext
Public Class ControllerContext
Inherits ActionContext


ControllerContext() ControllerContext() ControllerContext()

Creates a new ControllerContext.

ControllerContext(ActionContext) ControllerContext(ActionContext) ControllerContext(ActionContext)

Creates a new ControllerContext.


ActionDescriptor ActionDescriptor ActionDescriptor

Gets or sets the ControllerActionDescriptor associated with the current request.

HttpContext HttpContext HttpContext

Gets or sets the HttpContext for the current request.

(Inherited from ActionContext)
ModelState ModelState ModelState

Gets the ModelStateDictionary.

(Inherited from ActionContext)
RouteData RouteData RouteData

Gets or sets the RouteData for the current request.

(Inherited from ActionContext)
ValueProviderFactories ValueProviderFactories ValueProviderFactories

Gets or sets the list of IValueProviderFactory instances for the current request.

Applies to