CompositeValueProvider Class

 

Represents a value provider whose values come from a list of value providers that implements the IEnumerable interface.

Namespace:   System.Web.Http.ValueProviders.Providers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.Collection<T>
    System.Web.Http.ValueProviders.Providers.CompositeValueProvider

Syntax

public class CompositeValueProvider : Collection<IValueProvider>, 
    IEnumerableValueProvider, IValueProvider
public ref class CompositeValueProvider : Collection<IValueProvider^>, 
    IEnumerableValueProvider, IValueProvider
type CompositeValueProvider = 
    class
        inherit Collection<IValueProvider>
        interface IEnumerableValueProvider
        interface IValueProvider
    end
Public Class CompositeValueProvider
    Inherits Collection(Of IValueProvider)
    Implements IEnumerableValueProvider, IValueProvider

Constructors

Name Description
System_CAPS_pubmethod CompositeValueProvider()

Initializes a new instance of the CompositeValueProvider class.

System_CAPS_pubmethod CompositeValueProvider(IList<IValueProvider>)

Initializes a new instance of the CompositeValueProvider class.

Properties

Name Description
System_CAPS_pubproperty Count

(Inherited from Collection<T>.)

System_CAPS_pubproperty Item[Int32]

(Inherited from Collection<T>.)

System_CAPS_protproperty Items

(Inherited from Collection<T>.)

Methods

Name Description
System_CAPS_pubmethod Add(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod Clear()

(Inherited from Collection<T>.)

System_CAPS_protmethod ClearItems()

(Inherited from Collection<T>.)

System_CAPS_pubmethod Contains(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

System_CAPS_pubmethod CopyTo(T[], Int32)

(Inherited from Collection<T>.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

(Inherited from Collection<T>.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetKeysFromPrefix(String)

Retrieves the keys from the specified prefix.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetValue(String)

Retrieves a value object using the specified key.

System_CAPS_pubmethod IndexOf(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod Insert(Int32, T)

(Inherited from Collection<T>.)

System_CAPS_protmethod InsertItem(Int32, IValueProvider)

Inserts an element into the collection at the specified index.(Overrides Collection<T>.InsertItem(Int32, T).)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Remove(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod RemoveAt(Int32)

(Inherited from Collection<T>.)

System_CAPS_protmethod RemoveItem(Int32)

(Inherited from Collection<T>.)

System_CAPS_protmethod SetItem(Int32, IValueProvider)

Replaces the element at the specified index.(Overrides Collection<T>.SetItem(Int32, T).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(Inherited from Collection<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(Inherited from Collection<T>.)

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.Http.ValueProviders.Providers Namespace

Return to top