RouteData.RouteDataSnapshot 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 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)
参数
- dataTokens
- RouteValueDictionary
数据标记。
- values
- RouteValueDictionary
路由值。