What are some examples of MemberBinding linq expressions?

Posted by michielvoo on Stack Overflow See other posts from Stack Overflow or by michielvoo
Published on 2010-05-26T22:57:41Z Indexed on 2010/05/26 23:01 UTC
Read the original article Hit count: 283

Filed under:
|
|
|

There are three possibilities, but I can't find examples:

  1. System.Linq.Expressions.MemberAssignment
  2. System.Linq.Expressions.MemberListBinding
  3. System.Linq.Expressions.MemberMemberBinding

I want to write some unit tests to see if I can handle them, but I don't know how to write them except for the first one, which seems to be new Foo { Property = "value" } where Property = "value" is an expression of type MemberAssignment.

See also this MSDN article.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET