Share via


VirtualPathContext Constructors

Definition

Overloads

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary)

Creates a new instance of VirtualPathContext.

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary, String)

Creates a new instance of VirtualPathContext.

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary)

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

Creates a new instance of 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)

Parameters

httpContext
HttpContext

The HttpContext associated with the current request.

ambientValues
RouteValueDictionary

The set of route values associated with the current request.

values
RouteValueDictionary

The set of new values provided for virtual path generation.

Applies to

VirtualPathContext(HttpContext, RouteValueDictionary, RouteValueDictionary, String)

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

Creates a new instance of 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)

Parameters

httpContext
HttpContext

The HttpContext associated with the current request.

ambientValues
RouteValueDictionary

The set of route values associated with the current request.

values
RouteValueDictionary

The set of new values provided for virtual path generation.

routeName
String

The name of the route to use for virtual path generation.

Applies to