Share via


RouteData.RouteDataSnapshot Constructor

Definition

Creates a new instance of RouteData.RouteDataSnapshot for routeData.

public:
 RouteDataSnapshot(Microsoft::AspNetCore::Routing::RouteData ^ routeData, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ dataTokens, System::Collections::Generic::IList<Microsoft::AspNetCore::Routing::IRouter ^> ^ routers, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values);
public RouteDataSnapshot (Microsoft.AspNetCore.Routing.RouteData routeData, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens, System.Collections.Generic.IList<Microsoft.AspNetCore.Routing.IRouter> routers, Microsoft.AspNetCore.Routing.RouteValueDictionary values);
public RouteDataSnapshot (Microsoft.AspNetCore.Routing.RouteData routeData, Microsoft.AspNetCore.Routing.RouteValueDictionary? dataTokens, System.Collections.Generic.IList<Microsoft.AspNetCore.Routing.IRouter>? routers, Microsoft.AspNetCore.Routing.RouteValueDictionary? values);
new Microsoft.AspNetCore.Routing.RouteData.RouteDataSnapshot : Microsoft.AspNetCore.Routing.RouteData * Microsoft.AspNetCore.Routing.RouteValueDictionary * System.Collections.Generic.IList<Microsoft.AspNetCore.Routing.IRouter> * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.RouteData.RouteDataSnapshot
Public Sub New (routeData As RouteData, dataTokens As RouteValueDictionary, routers As IList(Of IRouter), values As RouteValueDictionary)

Parameters

routeData
RouteData

The RouteData.

dataTokens
RouteValueDictionary

The data tokens.

routers
IList<IRouter>

The routers.

values
RouteValueDictionary

The route values.

Applies to