NameValuePairsValueProvider Class
A value provider for name/value pairs.
Inheritance Hierarchy
System.Object
System.Web.Http.ValueProviders.Providers.NameValuePairsValueProvider
System.Web.Http.ValueProviders.Providers.QueryStringValueProvider
System.Web.Http.ValueProviders.Providers.RouteDataValueProvider
Namespace: System.Web.Http.ValueProviders.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class NameValuePairsValueProvider _
Implements IEnumerableValueProvider, IValueProvider
'Usage
Dim instance As NameValuePairsValueProvider
public class NameValuePairsValueProvider : IEnumerableValueProvider,
IValueProvider
public ref class NameValuePairsValueProvider : IEnumerableValueProvider,
IValueProvider
type NameValuePairsValueProvider =
class
interface IEnumerableValueProvider
interface IValueProvider
end
public class NameValuePairsValueProvider implements IEnumerableValueProvider, IValueProvider
The NameValuePairsValueProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NameValuePairsValueProvider(IEnumerable<KeyValuePair<String, String>>, CultureInfo) | Initializes a new instance of the NameValuePairsValueProvider class. | |
NameValuePairsValueProvider(Func<IEnumerable<KeyValuePair<String, String>>>, CultureInfo) | Initializes a new instance of the NameValuePairsValueProvider class, using a function delegate to provide the name/value pairs. |
Top
Methods
Name | Description | |
---|---|---|
ContainsPrefix | Determines whether the collection contains the specified prefix. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetKeysFromPrefix | Gets the keys from a prefix. | |
GetType | (Inherited from Object.) | |
GetValue | Retrieves a value object using the specified key. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
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.