Compartilhar via


VirtualPathContext Construtores

Definição

Sobrecargas

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary)

Cria uma nova instância de VirtualPathContext.

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary, String)

Cria uma nova instância de VirtualPathContext.

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary)

Origem:
VirtualPathContext.cs
Origem:
VirtualPathContext.cs
Origem:
VirtualPathContext.cs

Cria uma nova instância 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)

Parâmetros

httpContext
HttpContext

O HttpContext associado à solicitação atual.

ambientValues
RouteValueDictionary

O conjunto de valores de rota associados à solicitação atual.

values
RouteValueDictionary

O conjunto de novos valores fornecidos para a geração de caminho virtual.

Aplica-se a

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary, String)

Origem:
VirtualPathContext.cs
Origem:
VirtualPathContext.cs
Origem:
VirtualPathContext.cs

Cria uma nova instância 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)

Parâmetros

httpContext
HttpContext

O HttpContext associado à solicitação atual.

ambientValues
RouteValueDictionary

O conjunto de valores de rota associados à solicitação atual.

values
RouteValueDictionary

O conjunto de novos valores fornecidos para a geração de caminho virtual.

routeName
String

O nome da rota a ser usada para geração de caminho virtual.

Aplica-se a