CompositeValueProvider Class
Represents a value provider whose values come from a list of value providers that implements the IEnumerable interface.
Inheritance Hierarchy
System.Object
System.Collections.ObjectModel.Collection<IValueProvider>
System.Web.Http.ValueProviders.Providers.CompositeValueProvider
Namespace: System.Web.Http.ValueProviders.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class CompositeValueProvider _
Inherits Collection(Of IValueProvider) _
Implements IEnumerableValueProvider, IValueProvider
'Usage
Dim instance As CompositeValueProvider
public class CompositeValueProvider : Collection<IValueProvider>,
IEnumerableValueProvider, IValueProvider
public ref class CompositeValueProvider : public Collection<IValueProvider^>,
IEnumerableValueProvider, IValueProvider
type CompositeValueProvider =
class
inherit Collection<IValueProvider>
interface IEnumerableValueProvider
interface IValueProvider
end
public class CompositeValueProvider extends Collection<IValueProvider> implements IEnumerableValueProvider, IValueProvider
The CompositeValueProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CompositeValueProvider() | Initializes a new instance of the CompositeValueProvider class. | |
CompositeValueProvider(IList<IValueProvider>) | Initializes a new instance of the CompositeValueProvider class. |
Top
Properties
Name | Description | |
---|---|---|
Count | (Inherited from Collection<IValueProvider>.) | |
Item | (Inherited from Collection<IValueProvider>.) | |
Items | (Inherited from Collection<IValueProvider>.) |
Top
Methods
Name | Description | |
---|---|---|
Add | (Inherited from Collection<IValueProvider>.) | |
Clear | (Inherited from Collection<IValueProvider>.) | |
ClearItems | (Inherited from Collection<IValueProvider>.) | |
Contains | (Inherited from Collection<IValueProvider>.) | |
ContainsPrefix | Determines whether the collection contains the specified prefix. | |
CopyTo | (Inherited from Collection<IValueProvider>.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | (Inherited from Collection<IValueProvider>.) | |
GetHashCode | (Inherited from Object.) | |
GetKeysFromPrefix | Retrieves the keys from the specified prefix. | |
GetType | (Inherited from Object.) | |
GetValue | Retrieves a value object using the specified key. | |
IndexOf | (Inherited from Collection<IValueProvider>.) | |
Insert | (Inherited from Collection<IValueProvider>.) | |
InsertItem | Inserts an element into the collection at the specified index. (Overrides Collection<T>.InsertItem(Int32, T).) | |
MemberwiseClone | (Inherited from Object.) | |
Remove | (Inherited from Collection<IValueProvider>.) | |
RemoveAt | (Inherited from Collection<IValueProvider>.) | |
RemoveItem | (Inherited from Collection<IValueProvider>.) | |
SetItem | Replaces the element at the specified index. (Overrides Collection<T>.SetItem(Int32, T).) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList.Add | (Inherited from Collection<IValueProvider>.) | |
IList.Contains | (Inherited from Collection<IValueProvider>.) | |
ICollection.CopyTo | (Inherited from Collection<IValueProvider>.) | |
IEnumerable.GetEnumerator | (Inherited from Collection<IValueProvider>.) | |
IList.IndexOf | (Inherited from Collection<IValueProvider>.) | |
IList.Insert | (Inherited from Collection<IValueProvider>.) | |
IList.IsFixedSize | (Inherited from Collection<IValueProvider>.) | |
ICollection<T>.IsReadOnly | (Inherited from Collection<IValueProvider>.) | |
IList.IsReadOnly | (Inherited from Collection<IValueProvider>.) | |
ICollection.IsSynchronized | (Inherited from Collection<IValueProvider>.) | |
IList.Item | (Inherited from Collection<IValueProvider>.) | |
IList.Remove | (Inherited from Collection<IValueProvider>.) | |
ICollection.SyncRoot | (Inherited from Collection<IValueProvider>.) |
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.