Share via


IParameterBindingFactory.CanBind(Type, String) Method

Definition

Checks whether or not this factory can bind a parameter with the given type and name.

public bool CanBind (Type parameterType, string parameterName);
abstract member CanBind : Type * string -> bool
Public Function CanBind (parameterType As Type, parameterName As String) As Boolean

Parameters

parameterType
Type

The parameter type.

parameterName
String

The parameter name.

Returns

true if this parameter can be bound; false otherwise.

Applies to