ControllerContext Class

Definition

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
ControllerContext

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.

Applies to