ParameterBindingRulesCollection.Insert Method

 

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

Overload List

Name Description
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.

See Also

ParameterBindingRulesCollection Class
System.Web.Http.ModelBinding Namespace

Return to top

ParameterBindingRulesCollection.Insert Method (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.

Syntax

public void Insert(
    int index,
    Type typeMatch,
    Func<HttpParameterDescriptor, HttpParameterBinding> funcInner
)
public:
void Insert(
    int index,
    Type^ typeMatch,
    Func<HttpParameterDescriptor^, HttpParameterBinding^>^ funcInner
)
member Insert : 
        index:int *
        typeMatch:Type *
        funcInner:Func<HttpParameterDescriptor, HttpParameterBinding> -> unit
Public Sub Insert (
    index As Integer,
    typeMatch As Type,
    funcInner As Func(Of HttpParameterDescriptor, HttpParameterBinding)
)

Parameters

  • typeMatch
    Type: System.Type

    type to match against HttpParameterDescriptor.ParameterType

Return to top