To pull members up
- Position the caret at a member of the class that you want to pull members up from.
ReSharper | Refactor | Pull Members Up. The Pull Members Upwizard opens:
- Select a destination base type from the list of available types at the top of the wizard.
Select memberslist, select members of the current type that you want to pull up. Optionally, click one of the following buttons:
All Publicto select all public members of the current type.
Dependentto select members that are referenced by any other previously selected members.
For any member, select
Make abstract(if applicable) to create an abstract member in the selected base type and leave its implementation in the current type.
Next. If no conflicts are found, the refactoring is performed immediately.