Resharper Warnings with MVVM

Posted by Dan Bryant on Stack Overflow See other posts from Stack Overflow or by Dan Bryant
Published on 2010-05-07T17:56:30Z Indexed on 2010/05/07 19:38 UTC
Read the original article Hit count: 290

Filed under:
|
|
|
|

As I implement the MVVM pattern with WPF, I'm finding that Resharper is often warning me that certain properties are never used in my ViewModels. The problem is that they are being used, but only by the data binding system. Has anyone else encountered this annoyance and is there a way to help Resharper realize that these properties are, indeed, being used? I am glad, at least, that VS 2010 properly realizes that [Import] tagged members won't "always be null", but hopefully I can fix this issue as well.

© Stack Overflow or respective owner

Related posts about c#

Related posts about resharper