The Convert Abstract Class To Interface refactoring allows you to easily convert an abstract class to an interface.
Supported: C#, VB.NET
To convert an abstract class to an interface
Select the name of the abstract class you want to convert.
Press Alt+Insert. From the pop-up menu select Convert Abstract Class To Interface.
Telerik® JustCode™ will convert the abstract class to an interface. All members will be converted to interface members. If some members cannot be contained inside an interface, they will be removed. Stubs will be added for all missing members in the types that implement the newly created interface.
The result is:
If conflicts are found a warning window will be shown
Note that all usages of the removed members will not be removed.
To convert an abstract class to an interface you can also navigate on the main menu. Choose JustCode | Refactor | Convert Abstract Class To Interface.