Udostępnij za pośrednictwem


DictionaryValueProvider<TValue> Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy DictionaryValueProvider<TValue>.

public:
 DictionaryValueProvider(System::Collections::Generic::IDictionary<System::String ^, TValue> ^ dictionary, System::Globalization::CultureInfo ^ culture);
public DictionaryValueProvider (System.Collections.Generic.IDictionary<string,TValue> dictionary, System.Globalization.CultureInfo culture);
new System.Web.ModelBinding.DictionaryValueProvider<'Value> : System.Collections.Generic.IDictionary<string, 'Value> * System.Globalization.CultureInfo -> System.Web.ModelBinding.DictionaryValueProvider<'Value>
Public Sub New (dictionary As IDictionary(Of String, TValue), culture As CultureInfo)

Parametry

dictionary
IDictionary<String,TValue>

Słownik.

culture
CultureInfo

Informacje o kulturze.

Wyjątki

dictionaryParametr ma wartość null .

Dotyczy