Share via


ParameterBindingRulesCollection Class

 

Collection of functions that can produce a parameter binding for a given parameter.

Namespace:   System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.Collection<T>
    System.Web.Http.ModelBinding.ParameterBindingRulesCollection

Syntax

public class ParameterBindingRulesCollection : Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>
public ref class ParameterBindingRulesCollection : Collection<Func<HttpParameterDescriptor^, HttpParameterBinding^>^>
type ParameterBindingRulesCollection = 
    class
        inherit Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>
    end
Public Class ParameterBindingRulesCollection
    Inherits Collection(Of Func(Of HttpParameterDescriptor, HttpParameterBinding))

Constructors

Name Description
System_CAPS_pubmethod ParameterBindingRulesCollection()

Initializes a new instance of the ParameterBindingRulesCollection 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 Add(Type, Func<HttpParameterDescriptor, HttpParameterBinding>)

Adds function to the end of the collection. The function added is a wrapper around funcInner that checks that parameterType matches typeMatch.

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 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 GetType()

(Inherited from Object.)

System_CAPS_pubmethod IndexOf(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod Insert(Int32, T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod Insert(Int32, Type, Func<HttpParameterDescriptor, HttpParameterBinding>)

Insert a function at the specified index in the collection. /// The function added is a wrapper around funcInner that checks that parameterType matches typeMatch.

System_CAPS_protmethod InsertItem(Int32, T)

(Inherited from Collection<T>.)

System_CAPS_pubmethod LookupBinding(HttpParameterDescriptor)

Execute each binding function in order until one of them returns a non-null binding.

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, T)

(Inherited from Collection<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.ModelBinding Namespace

Return to top