Tool(s) to lower the friction of programming against Interfaces in Visual Studio C#?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-06-01T00:55:00Z Indexed on 2010/06/01 1:03 UTC
Read the original article Hit count: 297

Filed under:
|
|

Hi

I am a relatively new user of Visual Studio and I am trying "program against interfaces". I can see that when I create a class I can "Extract Interface" from the Refactor menu but you seem to only get one shot at this.

ie. If I add a read only property FullName to my Customer class I would like to be able to right click and update the interface. At the moment I can only create a new interface from the Refactor menu. I want to update the interface I have already created not create new one.

So the kind of tool I would be looking for would display check boxes for all valid members of the class with those already in the interface checked. It would also be handy to be able to to create the initial interface file in a different project (in the same solution), and for the tool to keep track of this.

Does such a tool / add in / menu item exist (other than Ctrl C / V)?

Thanks, John

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio