ServiceParameterBindingFactory.CanBind(Type, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework