Convert Interface to Abstract Class refactoring
This refactoring converts interfaces into abstract classes thus helping you quickly change hierarchical dependency among a set of classes and interfaces.
Consider the following example:
Convert an interface into an abstract class
Select an interface in one of the following ways:
In the editor, place the caret at the name of an interface.
Select an interface in the Solution Explorer.
Select an interface in the File Structure window window.
Select an interface in the Class View.
Select an interface in the Object Browser.
Select an interface in the type dependency diagram.
Do one of the following:
Press Control+Shift+R and then choose Convert Interface to Abstract Class.
Right-click and choose Refactor | Convert Interface to Abstract Class from the context menu.
Choose
from the main menu.
If no conflicts are found, ReSharper performs the refactoring immediately. Otherwise, it prompts you to resolve conflicts.
This feature is supported in the following languages and technologies:
The instructions and examples given here address the use of the feature in C#. For more information about other languages, refer to corresponding topics in the Languages and frameworks section.