RouteValueProvider 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
路由值的区域性。