Is there a way in Visual Studio to right click an interface and ‘Generate Class from Interface’ so I end up with an empty class with all the properties and methods which the interface requires?
Kind of like Extract Interface, but backwards.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not quite what you’re asking for, but if you create a class, and declare it as implementing your interface, you can right click on the interface and select “Implement Interface.” This will add the appropriate methods to your class.