Implementing IEquatable in class marked with DataContract. Does it work?

Posted by Rire1979 on Stack Overflow See other posts from Stack Overflow or by Rire1979
Published on 2010-05-17T17:40:41Z Indexed on 2010/05/17 18:00 UTC
Read the original article Hit count: 724

Filed under:
|
|

What I am trying to accomplish is to be able to use List<>.Contains() using the custom data structure(s) returned by the WCF service.

I implemented the IEquatable<>.Equals but it's not really working on the client side. Contains() always returns false. I am wondering if the Contains() method is actually part of the class when it's put together on the client side.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about serialization