Partager via


ParameterBindingRulesCollection Class

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

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>
    System.Web.Http.ModelBinding.ParameterBindingRulesCollection

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

Syntax

'Declaration
Public Class ParameterBindingRulesCollection _
    Inherits Collection(Of Func(Of HttpParameterDescriptor, HttpParameterBinding))
'Usage
Dim instance As ParameterBindingRulesCollection
public class ParameterBindingRulesCollection : Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>
public ref class ParameterBindingRulesCollection : public Collection<Func<HttpParameterDescriptor^, HttpParameterBinding^>^>
type ParameterBindingRulesCollection =  
    class 
        inherit Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>
    end
public class ParameterBindingRulesCollection extends Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>

The ParameterBindingRulesCollection type exposes the following members.

Constructors

  Name Description
Public method ParameterBindingRulesCollection Initializes a new instance of the ParameterBindingRulesCollection class.

Top

Properties

  Name Description
Public property Count (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Public property Item (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Protected property Items (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)

Top

Methods

  Name Description
Public method Add(T) (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Public method 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.
Public method Clear (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Protected method ClearItems (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Public method Contains (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Public method CopyTo (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Public method Insert(Int32, T) (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Public method 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.
Protected method InsertItem (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Public method LookupBinding Execute each binding function in order until one of them returns a non-null binding.
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Public method RemoveAt (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Protected method RemoveItem (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Protected method SetItem (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate method IList.Insert (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate property ICollection<T>.IsReadOnly (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate property IList.Item (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from Collection<Func<HttpParameterDescriptor, HttpParameterBinding>>.)

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.

See Also

Reference

System.Web.Http.ModelBinding Namespace