Share via


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>
Derived
Implements

Constructors

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

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

Methods

ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

GetKeysFromPrefix(String)

Gets the keys from the prefix.

GetValue(String)

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

Applies to