ServiceParameterBindingFactory.CanBind(Type, String) Method

Definition

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

C#
public virtual bool CanBind (Type parameterType, string parameterName);

Parameters

parameterType
Type

The parameter type.

parameterName
String

The parameter name.

Returns

true if this parameter can be bound; false otherwise.

Implements

Applies to

Produkt Versioner
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0