Partager via


VirtualPathContext Constructeurs

Définition

Surcharges

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary)

Crée une instance de VirtualPathContext.

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary, String)

Crée une instance de VirtualPathContext.

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary)

Source:
VirtualPathContext.cs
Source:
VirtualPathContext.cs
Source:
VirtualPathContext.cs

Crée une instance de VirtualPathContext.

public:
 VirtualPathContext(Microsoft::AspNetCore::Http::HttpContext ^ httpContext, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ ambientValues, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values);
public VirtualPathContext (Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary ambientValues, Microsoft.AspNetCore.Routing.RouteValueDictionary values);
new Microsoft.AspNetCore.Routing.VirtualPathContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.VirtualPathContext
Public Sub New (httpContext As HttpContext, ambientValues As RouteValueDictionary, values As RouteValueDictionary)

Paramètres

httpContext
HttpContext

HttpContext associé à la requête actuelle.

ambientValues
RouteValueDictionary

Ensemble de valeurs de route associées à la requête actuelle.

values
RouteValueDictionary

Ensemble de nouvelles valeurs fournies pour la génération de chemin d’accès virtuel.

S’applique à

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary, String)

Source:
VirtualPathContext.cs
Source:
VirtualPathContext.cs
Source:
VirtualPathContext.cs

Crée une instance de VirtualPathContext.

public:
 VirtualPathContext(Microsoft::AspNetCore::Http::HttpContext ^ httpContext, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ ambientValues, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values, System::String ^ routeName);
public VirtualPathContext (Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary ambientValues, Microsoft.AspNetCore.Routing.RouteValueDictionary values, string routeName);
public VirtualPathContext (Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary ambientValues, Microsoft.AspNetCore.Routing.RouteValueDictionary values, string? routeName);
new Microsoft.AspNetCore.Routing.VirtualPathContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.RouteValueDictionary * string -> Microsoft.AspNetCore.Routing.VirtualPathContext
Public Sub New (httpContext As HttpContext, ambientValues As RouteValueDictionary, values As RouteValueDictionary, routeName As String)

Paramètres

httpContext
HttpContext

HttpContext associé à la requête actuelle.

ambientValues
RouteValueDictionary

Ensemble de valeurs de route associées à la requête actuelle.

values
RouteValueDictionary

Ensemble de nouvelles valeurs fournies pour la génération de chemin d’accès virtuel.

routeName
String

Nom de l’itinéraire à utiliser pour la génération de chemin d’accès virtuel.

S’applique à