Partilhar via


ServicePropertyDiscoveryConvention.IsCandidateServiceProperty Method

Definition

Returns a value indicating whether the given member is a service property candidate.

protected virtual bool IsCandidateServiceProperty (System.Reflection.MemberInfo memberInfo, Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase structuralType, out Microsoft.EntityFrameworkCore.Metadata.IParameterBindingFactory? factory);
abstract member IsCandidateServiceProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * IParameterBindingFactory -> bool
override this.IsCandidateServiceProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionTypeBase * IParameterBindingFactory -> bool
Protected Overridable Function IsCandidateServiceProperty (memberInfo As MemberInfo, structuralType As IConventionTypeBase, ByRef factory As IParameterBindingFactory) As Boolean

Parameters

memberInfo
MemberInfo

The member.

structuralType
IConventionTypeBase

The type for which the properties will be discovered.

factory
IParameterBindingFactory

The parameter binding factory for the property.

Returns

Applies to