Bagikan melalui


ActionContext Konstruktor

Definisi

Overload

ActionContext()

Membuat kosong ActionContext.

ActionContext(ActionContext)

Membuat baru ActionContext.

ActionContext(HttpContext, RouteData, ActionDescriptor)

Membuat baru ActionContext.

ActionContext(HttpContext, RouteData, ActionDescriptor, ModelStateDictionary)

Membuat baru ActionContext.

ActionContext()

Sumber:
ActionContext.cs
Sumber:
ActionContext.cs
Sumber:
ActionContext.cs

Membuat kosong ActionContext.

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

Keterangan

Konstruktor default disediakan hanya untuk tujuan pengujian unit.

Berlaku untuk

ActionContext(ActionContext)

Sumber:
ActionContext.cs
Sumber:
ActionContext.cs
Sumber:
ActionContext.cs

Membuat baru ActionContext.

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

Parameter

actionContext
ActionContext

yang akan disalin ActionContext .

Berlaku untuk

ActionContext(HttpContext, RouteData, ActionDescriptor)

Sumber:
ActionContext.cs
Sumber:
ActionContext.cs
Sumber:
ActionContext.cs

Membuat baru ActionContext.

public:
 ActionContext(Microsoft::AspNetCore::Http::HttpContext ^ httpContext, Microsoft::AspNetCore::Routing::RouteData ^ routeData, Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^ actionDescriptor);
public ActionContext (Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteData routeData, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor actionDescriptor);
new Microsoft.AspNetCore.Mvc.ActionContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Routing.RouteData * Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor -> Microsoft.AspNetCore.Mvc.ActionContext
Public Sub New (httpContext As HttpContext, routeData As RouteData, actionDescriptor As ActionDescriptor)

Parameter

httpContext
HttpContext

HttpContext untuk permintaan saat ini.

routeData
RouteData

RouteData untuk permintaan saat ini.

actionDescriptor
ActionDescriptor

ActionDescriptor untuk tindakan yang dipilih.

Berlaku untuk

ActionContext(HttpContext, RouteData, ActionDescriptor, ModelStateDictionary)

Sumber:
ActionContext.cs
Sumber:
ActionContext.cs
Sumber:
ActionContext.cs

Membuat baru ActionContext.

public:
 ActionContext(Microsoft::AspNetCore::Http::HttpContext ^ httpContext, Microsoft::AspNetCore::Routing::RouteData ^ routeData, Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^ actionDescriptor, Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ modelState);
public ActionContext (Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteData routeData, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor actionDescriptor, Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState);
new Microsoft.AspNetCore.Mvc.ActionContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Routing.RouteData * Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor * Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.ActionContext
Public Sub New (httpContext As HttpContext, routeData As RouteData, actionDescriptor As ActionDescriptor, modelState As ModelStateDictionary)

Parameter

httpContext
HttpContext

HttpContext untuk permintaan saat ini.

routeData
RouteData

RouteData untuk permintaan saat ini.

actionDescriptor
ActionDescriptor

ActionDescriptor untuk tindakan yang dipilih.

Berlaku untuk