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)

Inheritance Hierarchy

System.Object
  System.Web.Mvc.DictionaryValueProvider<TValue>
    System.Web.Mvc.ChildActionValueProvider
    System.Web.Mvc.HttpFileCollectionValueProvider
    System.Web.Mvc.RouteDataValueProvider

Syntax

public class DictionaryValueProvider<TValue> : IEnumerableValueProvider, 
    IValueProvider
generic<typename TValue>
public ref class DictionaryValueProvider : IEnumerableValueProvider, 
    IValueProvider
type DictionaryValueProvider<'TValue> = 
    class
        interface IEnumerableValueProvider
        interface IValueProvider
    end
Public Class DictionaryValueProvider(Of TValue)
    Implements IEnumerableValueProvider, IValueProvider

Type Parameters

  • TValue
    The type of the value.

Constructors

Name Description
System_CAPS_pubmethod DictionaryValueProvider<TValue>(IDictionary<String, TValue>, CultureInfo)

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

Methods

Name Description
System_CAPS_pubmethod ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetKeysFromPrefix(String)

Gets the keys from the prefix.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetValue(String)

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

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

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

See Also

System.Web.Mvc Namespace

Return to top