Given:
- I have an interface.
- I have only class that implements that interface.
Question:
With Resharper 4.5 – How can I discard that interface and change all references to the only implementation?
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.
There doesn’t seem to be a way to do this “automagically” in one step.
What I would do in this situation is the following:
"Change all IYourInterfaceName"and typing the concrete class name.Hope that helps.