I have already created an interface, and I am in the class that binds to the interface.
If I create a new method in the concret class, is there a shortcut to create the method declaration in the interface?
I have already created an interface, and I am in the class that binds to the interface.
If I create a new method in the concret class, is there a shortcut to create the method declaration in the interface?
Refactor - Pull Members Up:
This refactoring helps you move type members to a superclass or an interface. This operation is useful as a way to generalize behavior. ReSharper analyzes all members in the current class and makes a list of members that you can pull up. Before completing the refactoring, ReSharper also checks for possible conflicts, for example, whether the members that you are trying to move to a superclass will be accessible in the destination type. The reverse functionality is available with 'Push Members Down'.
The keyboard shortcut for invoking this re-factoring is: Alt+R > R > U