ParameterBindingRulesCollection Class
Dans cet article
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
Top
Properties
Top
Methods
Add(T)
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
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.
Clear
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
ClearItems
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
Contains
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
CopyTo
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
Equals
(Inherited from Object .)
Finalize
(Inherited from Object .)
GetEnumerator
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
GetHashCode
(Inherited from Object .)
GetType
(Inherited from Object .)
IndexOf
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
Insert(Int32, T)
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
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.
InsertItem
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
LookupBinding
Execute each binding function in order until one of them returns a non-null binding.
MemberwiseClone
(Inherited from Object .)
Remove
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
RemoveAt
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
RemoveItem
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
SetItem
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
ToString
(Inherited from Object .)
Top
Explicit Interface Implementations
IList.Add
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
IList.Contains
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
ICollection.CopyTo
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
IEnumerable.GetEnumerator
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
IList.IndexOf
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
IList.Insert
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
IList.IsFixedSize
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
ICollection<T>.IsReadOnly
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
IList.IsReadOnly
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
ICollection.IsSynchronized
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
IList.Item
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
IList.Remove
(Inherited from Collection <Func <HttpParameterDescriptor , HttpParameterBinding >>.)
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