ControllerContext Oluşturucular

Tanım

Aşırı Yüklemeler

ControllerContext()

Yeni bir ControllerContext oluşturur.

ControllerContext(ActionContext)

Yeni bir ControllerContext oluşturur.

ControllerContext()

Yeni bir ControllerContext oluşturur.

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

Açıklamalar

Varsayılan oluşturucu yalnızca birim testi amacıyla sağlanır.

Şunlara uygulanır

ControllerContext(ActionContext)

Yeni bir ControllerContext oluşturur.

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)

Parametreler

context
ActionContext

ActionContext Geçerli istekle ilişkili.

Şunlara uygulanır