Compartir a través de


ControllerContext Constructores

Definición

Sobrecargas

ControllerContext()

Crea un nuevo ControllerContext.

ControllerContext(ActionContext)

Crea un nuevo ControllerContext.

ControllerContext()

Source:
ControllerContext.cs
Source:
ControllerContext.cs
Source:
ControllerContext.cs

Crea un nuevo ControllerContext.

public:
 ControllerContext();
public ControllerContext ();
Public Sub New ()

Comentarios

El constructor predeterminado solo se proporciona con fines de prueba unitaria.

Se aplica a

ControllerContext(ActionContext)

Source:
ControllerContext.cs
Source:
ControllerContext.cs
Source:
ControllerContext.cs

Crea un nuevo ControllerContext.

public:
 ControllerContext(Microsoft::AspNetCore::Mvc::ActionContext ^ context);
public ControllerContext (Microsoft.AspNetCore.Mvc.ActionContext context);
new Microsoft.AspNetCore.Mvc.ControllerContext : Microsoft.AspNetCore.Mvc.ActionContext -> Microsoft.AspNetCore.Mvc.ControllerContext
Public Sub New (context As ActionContext)

Parámetros

context
ActionContext

asociado ActionContext a la solicitud actual.

Se aplica a