Archive

Author Archive

DXCore Services – Navigation

May 22nd, 2011 Comments off

The Navigation DXCore service provides access to the navigation providers’ engine. This service is dedicated to control navigation providers and allows you to navigate inside your code structure programmatically.

Read more…

DXCore Services – Clipboard

May 21st, 2011 Comments off

The Clipboard DXCore service provides access to the Windows clipboard. Contains methods for checking, retrieving, copying, cutting and pasting clipboard contents into the code editor.

Read more…

Code Issues – Redundant field initialization

May 20th, 2011 Comments off

Cause:

The redundant field initialization code issue of type ‘dead code‘ highlights unecessary initialization of fields that can be safely removed (because the common language runtime initializes all fields to their default values, regardless of their type). Value types are initialized to 0 and reference types are initialized to null. Explicitly initializing a field to its default value is redundant, degrades performance and adds to maintenance costs.

Read more…

Changing Signatures Refactorings – Convert to Tuple

May 19th, 2011 Comments off

The Convert to Tuple refactoring shipped in Refactor! Pro is similar to the Introduce Parameter Object refactoring, but it doesn’t create a new object – it uses the built-in .NET Framework 4.0 Tuple object.

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…

Code Templates – NUnit testing

May 17th, 2011 Comments off

Just a list of NUnit-testing CodeRush code templates useful for test-driven development. Bear in mind, if you have an identifier on the Clipboard, assert templates will automatically paste the identifier from the Clipboard as an argument to the assert call. The meaning of the text commands in bold can be seen in the corresponding topic.

Read more…

Code Templates – ASP.NET MVC development

May 16th, 2011 Comments off

The 10.2 release of DevExpress IDE Tools (CodeRush Pro) has introduced a number of templates for MVC development. They include templates for C#, VB and ASPx (C# and VB) code. CodeRush text commands are marked as bold in template expansions, see the list of all text commands, to learn more.
Read more…

CodeRush Coding Helpers and Code Providers list

May 16th, 2011 Comments off

Here’s the list of advanced CodeRush coding helper features and code providers that do not generate or declare any code. For the code generation tools, see the corresponding topic.

Read more…