DictionaryValueProvider<TValue> Class

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

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public class DictionaryValueProvider<TValue> : IValueProvider

Type Parameters


The type of the value.

The DictionaryValueProvider<TValue> type exposes the following members.

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

Public methodContainsPrefixDetermines whether the collection contains the specified prefix.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetValueReturns a value object using the specified key and controller context.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.