ExpressionExtensions.GetMemberAccessList(LambdaExpression) Method

Definition

Returns a list of MemberInfo extracted from the given simple LambdaExpression.

public static System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> GetMemberAccessList (this System.Linq.Expressions.LambdaExpression memberAccessExpression);
static member GetMemberAccessList : System.Linq.Expressions.LambdaExpression -> System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo>
<Extension()>
Public Function GetMemberAccessList (memberAccessExpression As LambdaExpression) As IReadOnlyList(Of MemberInfo)

Parameters

memberAccessExpression
LambdaExpression

The expression.

Returns

The list of referenced members.

Remarks

Only simple expressions are supported, such as those used to reference a member.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

Applies to