Поделиться через


RouteValueProvider Конструкторы

Определение

Перегрузки

RouteValueProvider(BindingSource, RouteValueDictionary)

Создает новый экземпляр RouteValueProvider.

RouteValueProvider(BindingSource, RouteValueDictionary, CultureInfo)

Создает новый экземпляр RouteValueProvider.

RouteValueProvider(BindingSource, RouteValueDictionary)

Исходный код:
RouteValueProvider.cs
Исходный код:
RouteValueProvider.cs
Исходный код:
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)

Исходный код:
RouteValueProvider.cs
Исходный код:
RouteValueProvider.cs
Исходный код:
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

Язык и региональные параметры для значения маршрута.

Применяется к