RouteData.RouteDataSnapshot 构造函数

定义

routeData创建 的新RouteData.RouteDataSnapshot实例。

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)

参数

routeData
RouteData

RouteData

dataTokens
RouteValueDictionary

数据标记。

routers
IList<IRouter>

路由器。

values
RouteValueDictionary

路由值。

适用于