DictionaryValueProvider<TValue> DictionaryValueProvider<TValue> DictionaryValueProvider<TValue> Class

Definition

Represents the base class for value providers whose values come from a collection that implements the IDictionary<TKey, TValue> interface.

public class DictionaryValueProvider<TValue> : System.Web.Mvc.IEnumerableValueProvider
type DictionaryValueProvider<'Value> = class
    interface IValueProvider
    interface IEnumerableValueProvider
Public Class DictionaryValueProvider(Of TValue)
Implements IEnumerableValueProvider

Type Parameters

TValue

The type of the value.

Inheritance
DictionaryValueProvider<TValue>DictionaryValueProvider<TValue>DictionaryValueProvider<TValue>
Derived
Implements

Constructors

DictionaryValueProvider<TValue>(IDictionary<String,TValue>, CultureInfo) DictionaryValueProvider<TValue>(IDictionary<String,TValue>, CultureInfo) DictionaryValueProvider<TValue>(IDictionary<String,TValue>, CultureInfo)

Initializes a new instance of the DictionaryValueProvider<TValue> class.

Methods

ContainsPrefix(String) ContainsPrefix(String) ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

GetKeysFromPrefix(String) GetKeysFromPrefix(String) GetKeysFromPrefix(String)

Gets the keys from the prefix.

GetValue(String) GetValue(String) GetValue(String)

Returns a value object using the specified key and controller context.

Applies to