Archive

Archive for the ‘Overview’ Category

Refactorings for changing member signatures overview

August 9th, 2012 Comments off

This is just a quick list to organize a bunch of refactorings that change member signatures. Click the refactoring name to learn more about it.

Add Parameter

The refactoring adds a new parameter to a method declaration and updates all calls accordingly. This refactoring is useful when you need to quickly add a new parameter to an existing method because it needs more information from its caller that wasn’t passed in before.

Read more…

Refactorings strings in Visual Studio using CodeRush

November 30th, 2011 Comments off

The String data type of .NET Framework is one of the most often used types when developing software. There are a number of basic operators available for use with strings, such as concatenation and equality comparison. Also the data type is based on a class that includes many powerful methods for string manipulation. Let’s take a brief look at what refactorings shipped in DevExpress Refactor! Pro help us deal with the String data type. You can follow each link, to learn more about a specific refactoring.

Read more…

Refactor! Pro/DXCore components – Refactoring provider

September 30th, 2011 Comments off

The RefactoringProvider DXCore component (shipped in Refactor! Pro) provides a specific code refactoring operation, which can improve your source code without changing its logic in a definite context.

Read more…

Refactorings and code providers for working with interface declarations

July 29th, 2011 Comments off

Refactor! Pro has many refactorings that are divided into several categories for clarity. One of the categories is Interfaces, where you can see the list of refactorings and code providers that are specific to interface declarations. The category is not as large as others at the moment, however, you might find these refactorings useful.

Read more…

Refactorings for simplifying of .NET 4.0 parallel computing development

May 18th, 2011 Comments off

Many personal computers and workstations have two or four cores that enable multiple threads to be executed simultaneously. .Net Framework ver. 4.0 has been introduced a standardized and simplified way for creating robust, scalable and reliable multi-threaded applications. The parallel programming extension of .NET 4.0 allows the developer to create applications that exploit the power of multi-core and multi-processor computers. The flexible thread APIs of the extension are much simpler to use and more powerful than standard .NET threads.

Read more…

Refactorings preview hinting

September 24th, 2010 5 comments

Almost all refactorings have a preview hint which allows you to see the resulting code before a particular refactoring is performed. This is very useful, because it is a great help to understand what will happen in the code once an action is taken. Moving among available refactorings in the Refactor! popup menu or a SmartTag popup menu will be reflected in the preview for each one. Here are previews of some possible refactorings you can perform using the Refactor! popup menu:

Read more…

How to perform a code refactoring using IDE tools

September 7th, 2010 Comments off

There are several methods which allow you to perform a particular refactoring. Multiple methods are provided to ensure that you feel comfortable inside the Visual Studio IDE. These approaches are available:

Read more…

What is refactoring? Benefits of a code refactoring

September 7th, 2010 Comments off

Refactoring is a disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior. Its heart is a series of small behavior preserving transformations. Each transformation (called a ‘refactoring’) does little, but a sequence of transformations can produce a significant restructuring. Since each refactoring is small, it’s less likely to go wrong. The system is also kept fully working after each small refactoring, reducing the chances that a system can get seriously broken during the restructuring.”

Martin Fowler, www.refactoring.com

Read more…