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.
The Graphics DXCore Service provides methods for GDI graphic manipulation.
Read more…
The Intellassist DXCore Service provides methods for CodeRush Intellassist feature manipulation (e.g. suspending, resuming, canceling) and additional properties.
Read more…
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…
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…
The SmartTag DXCore service provides access to the smart tags and popup menu manipulation APIs.
Read more…
The Command DXCore Service provides access to the DXCore actions and Visual Studio commands.
Read more…
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…