ServiceParameterBindingFactory.CanBind(Type, String) Method

Definition

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

public virtual bool CanBind (Type parameterType, string parameterName);
abstract member CanBind : Type * string -> bool
override this.CanBind : Type * string -> bool
Public Overridable 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.

Implements

Applies to