Code Issues for anonymous methods and lambda expressions

October 31st, 2011 Comments off

We already reviewed the refactorings for anonymous methods and lambda expressions and know how to deal with these language structures. Now its time to review what Code Issues for anonymous methods and lambda expressions CodeRush Pro provides.

Read more…

DXCore Services – Graphics

October 31st, 2011 Comments off

The Graphics DXCore Service provides methods for GDI graphic manipulation.

Read more…

DXCore Services – Intellassist

October 31st, 2011 Comments off

The Intellassist DXCore Service provides methods for CodeRush Intellassist feature manipulation (e.g. suspending, resuming, canceling) and additional properties.

Read more…

Refactorings to convert between static and instance members

October 31st, 2011 Comments off

Classes allow you to create instance members and static members. Instance members are available when an instance of the class is created and have access to the object’s data. Static members do not require an object created and can be called directly.

Static methods are useful when creating functions that are not reliant on any instance of a class. An example of the extensive use of static members is the System.Math class, which is a library of mathematical functions and constants provided by the .NET framework.

Read more…

Refactorings – Make Extension Method

October 31st, 2011 Comments off

The Make Extension refactoring converts a regular method into an extension method based on the selected parameter type. Extension methods allow you to extend an existing type, including classes, structures or interfaces, with the new functionality, without having to derive from that class and without modifying the code of the type itself. The extended type is taken from the parameter that you choose when applying the refactoring.

Read more…

DXCore Services – SmartTag

October 31st, 2011 Comments off

The SmartTag DXCore service provides access to the smart tags and popup menu manipulation APIs.

Read more…

DXCore Services – Command

October 31st, 2011 Comments off

The Command DXCore Service provides access to the DXCore actions and Visual Studio commands.

Read more…

CodeRush Code Issues for interfaces

October 24th, 2011 Comments off

An interface is a code structure that has no concrete members and similar to an abstract class. An interface can contain public members such as methods, events, properties and indexers, but these members do not provide any functionality. Instead, they define items that must be made concrete within all classes that implement this interface. This means that an interface can be used to define what a class must do, but not how it will achieve it.

Read more…