Udostępnij za pośrednictwem


ActionContext Konstruktory

Definicja

Przeciążenia

ActionContext()

Tworzy pusty ActionContextelement .

ActionContext(ActionContext)

Tworzy nowy adres ActionContext.

ActionContext(HttpContext, RouteData, ActionDescriptor)

Tworzy nowy adres ActionContext.

ActionContext(HttpContext, RouteData, ActionDescriptor, ModelStateDictionary)

Tworzy nowy adres ActionContext.

ActionContext()

Źródło:
ActionContext.cs
Źródło:
ActionContext.cs
Źródło:
ActionContext.cs

Tworzy pusty ActionContextelement .

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

Uwagi

Domyślny konstruktor jest udostępniany tylko do celów testów jednostkowych.

Dotyczy

ActionContext(ActionContext)

Źródło:
ActionContext.cs
Źródło:
ActionContext.cs
Źródło:
ActionContext.cs

Tworzy nowy adres 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)

Parametry

actionContext
ActionContext

Element ActionContext do skopiowania.

Dotyczy

ActionContext(HttpContext, RouteData, ActionDescriptor)

Źródło:
ActionContext.cs
Źródło:
ActionContext.cs
Źródło:
ActionContext.cs

Tworzy nowy adres 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)

Parametry

httpContext
HttpContext

Wartość HttpContext dla bieżącego żądania.

routeData
RouteData

Wartość RouteData dla bieżącego żądania.

actionDescriptor
ActionDescriptor

Element ActionDescriptor dla wybranej akcji.

Dotyczy

ActionContext(HttpContext, RouteData, ActionDescriptor, ModelStateDictionary)

Źródło:
ActionContext.cs
Źródło:
ActionContext.cs
Źródło:
ActionContext.cs

Tworzy nowy adres 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)

Parametry

httpContext
HttpContext

Wartość HttpContext dla bieżącego żądania.

routeData
RouteData

Wartość RouteData dla bieżącego żądania.

actionDescriptor
ActionDescriptor

Element ActionDescriptor dla wybranej akcji.

Dotyczy