Beispiel #1
0
 protected override Expression VisitMember(MemberExpression node)
 {
     MemberPath = node.GetMembers().Select(e => e.Member);
     return(node);
 }
Beispiel #2
0
 public static IEnumerable <MemberInfo> GetMemberInfos(this MemberExpression expression)
 {
     return(expression.GetMembers()
            .Select(e => e.Member));
 }
Beispiel #3
0
 protected override Expression VisitMember(MemberExpression node)
 {
     _members.AddRange(node.GetMembers().Select(e => e.Member));
     return(node);
 }