RAD Studio (Common)
ContentsIndex
PreviousUpNext
Refactoring Procedures

This section provides how-to information on using model refactoring facilities.

Name 
Description 
 
The following conditions should be met for extracting interfaces:
  • Only non-static methods can be extracted.
  • All methods in the extracted interface are public.
  • If the name specified for the new interface coincides with the name of an existing interface in the same namespace, all the methods will be extracted into an existing interface.
 
 
 
 
 
 
 
Moving members assumes that the member is either moved to the target location being deleted from the original location, or created in the target location being preserved on the original one. 
To rename a local variable or parameter, right-click a variable name in the source code and choose Refactoring Rename on the main menu. For the other code elements, you can use the source-code Editor, the Diagram View, the Model View, or the Refactoring main menu.
Tip: In order to make renaming overloads possible, the method should have its override
property set to true.  
 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!