ControllerContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The context associated with the current request for a controller.
public ref class ControllerContext : Microsoft::AspNetCore::Mvc::ActionContext
public class ControllerContext : Microsoft.AspNetCore.Mvc.ActionContext
type ControllerContext = class
inherit ActionContext
Public Class ControllerContext
Inherits ActionContext
- Inheritance
Constructors
ControllerContext() |
Creates a new ControllerContext. |
ControllerContext(ActionContext) |
Creates a new ControllerContext. |
Properties
ActionDescriptor |
Gets or sets the ControllerActionDescriptor associated with the current request. |
HttpContext |
Gets or sets the HttpContext for the current request. (Inherited from ActionContext) |
ModelState |
Gets the ModelStateDictionary. (Inherited from ActionContext) |
RouteData |
Gets or sets the RouteData for the current request. (Inherited from ActionContext) |
ValueProviderFactories |
Gets or sets the list of IValueProviderFactory instances for the current request. |