RouteValuesAddressMetadata 构造函数

定义

重载

RouteValuesAddressMetadata(IReadOnlyDictionary<String,Object>)

使用提供的必需路由值创建 的新 RouteValuesAddressMetadata 实例。

RouteValuesAddressMetadata(String)

使用提供的路由名称创建 的新 RouteValuesAddressMetadata 实例。

RouteValuesAddressMetadata(String, IReadOnlyDictionary<String,Object>)

使用提供的路由名称和所需的路由值创建 的新实例 RouteValuesAddressMetadata

RouteValuesAddressMetadata(IReadOnlyDictionary<String,Object>)

Source:
RouteValuesAddressMetadata.cs

使用提供的必需路由值创建 的新 RouteValuesAddressMetadata 实例。

public:
 RouteValuesAddressMetadata(System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^> ^ requiredValues);
public RouteValuesAddressMetadata (System.Collections.Generic.IReadOnlyDictionary<string,object> requiredValues);
new Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata : System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata
Public Sub New (requiredValues As IReadOnlyDictionary(Of String, Object))

参数

requiredValues
IReadOnlyDictionary<String,Object>

所需的路由值。

适用于

RouteValuesAddressMetadata(String)

Source:
RouteValuesAddressMetadata.cs

使用提供的路由名称创建 的新 RouteValuesAddressMetadata 实例。

public:
 RouteValuesAddressMetadata(System::String ^ routeName);
public RouteValuesAddressMetadata (string routeName);
new Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata : string -> Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata
Public Sub New (routeName As String)

参数

routeName
String

路由名称。 可以为 null。

适用于

RouteValuesAddressMetadata(String, IReadOnlyDictionary<String,Object>)

Source:
RouteValuesAddressMetadata.cs

使用提供的路由名称和所需的路由值创建 的新实例 RouteValuesAddressMetadata

public:
 RouteValuesAddressMetadata(System::String ^ routeName, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^> ^ requiredValues);
public RouteValuesAddressMetadata (string routeName, System.Collections.Generic.IReadOnlyDictionary<string,object> requiredValues);
new Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata : string * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata
Public Sub New (routeName As String, requiredValues As IReadOnlyDictionary(Of String, Object))

参数

routeName
String

路由名称。 可以为 null。

requiredValues
IReadOnlyDictionary<String,Object>

所需的路由值。

适用于