RouteValueProvider 构造函数

定义

重载

RouteValueProvider(BindingSource, RouteValueDictionary)

创建一个新的 RouteValueProvider

RouteValueProvider(BindingSource, RouteValueDictionary, CultureInfo)

创建一个新的 RouteValueProvider

RouteValueProvider(BindingSource, RouteValueDictionary)

Source:
RouteValueProvider.cs
Source:
RouteValueProvider.cs
Source:
RouteValueProvider.cs

创建一个新的 RouteValueProvider

public:
 RouteValueProvider(Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^ bindingSource, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values);
public RouteValueProvider (Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource, Microsoft.AspNetCore.Routing.RouteValueDictionary values);
new Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProvider
Public Sub New (bindingSource As BindingSource, values As RouteValueDictionary)

参数

bindingSource
BindingSource

BindingSource数据的 。

values
RouteValueDictionary

值。

注解

Culture 设置为 InvariantCulture

适用于

RouteValueProvider(BindingSource, RouteValueDictionary, CultureInfo)

Source:
RouteValueProvider.cs
Source:
RouteValueProvider.cs
Source:
RouteValueProvider.cs

创建一个新的 RouteValueProvider

public:
 RouteValueProvider(Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^ bindingSource, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values, System::Globalization::CultureInfo ^ culture);
public RouteValueProvider (Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource, Microsoft.AspNetCore.Routing.RouteValueDictionary values, System.Globalization.CultureInfo culture);
new Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource * Microsoft.AspNetCore.Routing.RouteValueDictionary * System.Globalization.CultureInfo -> Microsoft.AspNetCore.Mvc.ModelBinding.RouteValueProvider
Public Sub New (bindingSource As BindingSource, values As RouteValueDictionary, culture As CultureInfo)

参数

bindingSource
BindingSource

BindingSource数据的 。

values
RouteValueDictionary

值。

culture
CultureInfo

路由值的区域性。

适用于