Dela via


ModelExtensions.IsIndexerMethod(IModel, MethodInfo) Method

Definition

Gets a value indicating whether the given MethodInfo reprensent an indexer access.

public static bool IsIndexerMethod (this Microsoft.EntityFrameworkCore.Metadata.IModel model, System.Reflection.MethodInfo methodInfo);
static member IsIndexerMethod : Microsoft.EntityFrameworkCore.Metadata.IModel * System.Reflection.MethodInfo -> bool
<Extension()>
Public Function IsIndexerMethod (model As IModel, methodInfo As MethodInfo) As Boolean

Parameters

model
IModel

The model to use.

methodInfo
MethodInfo

The MethodInfo to check for.

Returns

Applies to