Lenguaje

IMemberClassifier.IsCandidateServiceProperty Method

Definition

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

public bool IsCandidateServiceProperty(System.Reflection.MemberInfo memberInfo, Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, bool useAttributes, out Microsoft.EntityFrameworkCore.Metadata.IParameterBindingFactory? bindingFactory, out bool explicitlyConfigured);
abstract member IsCandidateServiceProperty : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IConventionModel * bool * IParameterBindingFactory * bool -> bool
Public Function IsCandidateServiceProperty (memberInfo As MemberInfo, model As IConventionModel, useAttributes As Boolean, ByRef bindingFactory As IParameterBindingFactory, ByRef explicitlyConfigured As Boolean) As Boolean

Parameters

memberInfo
MemberInfo

The member to classify.

model
IConventionModel

The model.

useAttributes
Boolean

Whether attributes found on the member should be considered.

bindingFactory
IParameterBindingFactory

When this method returns, the parameter binding factory for the service property, if one was found.

explicitlyConfigured
Boolean

When this method returns, indicates whether the type was explicitly configured.

Returns

true if the member is a candidate service property; otherwise false.

Applies to