NET Refactor - Rename ParametersAnother important part of keeping your code readable and maintainable is to use proper naming of parameters in method signatures. The Rename Parameters feature of NET Refactor allows you to change the name of any or all of the parameters in a method signature, and at the same time have all of the references to the renamed parameters changed automatically. To use Rename Parameters, simply place the cursor, anywhere in the method in which you wish to rename the parameters, and select the menu option from the NET Refactor menu. Upon selection of the Rename Parameters menu option, the dialog shown below will be displayed.

Renaming ParametersThe parameter selected in the ListView will always be displayed in the TextBox at the bottom of the dialog. Having selected a variable in the ListView, press Tab to enter the TextBox. The parameter will be highlighted so that you can begin typing the new name. You will see the new name entering the ListView as you type.
Once you have renamed all of the parameters that you wish to rename, click OK and the code block will be replaced with the new block containing the renamed parameters and references.
Try NET Refactor Free for 30 days or purchase now by clicking Download or Purchase.
New Features are being added to NET Refactor, Version 2, and as they are added, you can download the new features without additional cost.
To view additional detail about NET Refactor, you can view the help file for NET Refactor on-line, by clicking Show Help File.
Top of Page
|