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 | |
---|---|---|
DictionaryValueProvider<TValue>(IDictionary<String, TValue>, CultureInfo) | Initializes a new instance of the DictionaryValueProvider<TValue> class. |
Methods
Name | Description | |
---|---|---|
ContainsPrefix(String) | Determines whether the collection contains the specified prefix. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetKeysFromPrefix(String) | Gets the keys from the prefix. |
|
GetType() | (Inherited from Object.) |
|
GetValue(String) | Returns a value object using the specified key and controller context. |
|
MemberwiseClone() | (Inherited from Object.) |
|
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
Return to top