This web site uses cookies. By using the site you accept the cookie policy.This message is for compliance with the UK ICO law.

<< Previous | 1 | Next >>
Visual Studio 2010 Generate From UsageVisual Studio 2010 Generate From Usage
Visual Studio 2010 includes a new code generation feature named Generate From Usage. This allows you to write code that references classes, structures, interfaces, enumerations and members that do not exist and have the IDE create them for you afterwards.
Visual Studio Remove Parameters CommandVisual Studio Remove Parameters Command
As you refactor and redesign your classes, you may decide that you no longer require one or more parameters of a method. To delete parameters and ensure that calls to the method remain functional, you can use Visual Studio's Remove Parameters command.
Visual Studio Reorder Parameters CommandVisual Studio Reorder Parameters Command
When creating class libraries, you may decide to refactor your code to provide a consistent ordering of parameters. If you need to change the order of parameters for existing methods, you can use Visual Studio's Reorder Parameters command.
Visual Studio Extract Interface CommandVisual Studio Extract Interface Command
Interfaces define a contract for classes or structures. This helps to support polymorphism in object-oriented programming and assist automated testing when used for mocking. Visual Studio lets you to create interfaces from existing classes automatically.
Visual Studio Promote Local Variable to ParameterVisual Studio Promote Local Variable to Parameter
Sometimes a local variable within a method must be converted to a parameter of the method as the software develops. In such cases, Visual Studio provides a command that allows the variable to be promoted without breaking references elsewhere in the code.
Visual Studio Encapsulate Field CommandVisual Studio Encapsulate Field Command
Sometimes public fields will are in a class to present data. These are accessed in a similar manner to properties but cannot provide validation. Often you will want to upgrade the public fields to properties. Visual Studio provides a command to assist.
Visual Studio Extract Method CommandVisual Studio Extract Method Command
When a method grows too large to be easily manageable, or when a section of a method will be duplicated elsewhere in your code, you may consider extracting part of the code into its own method. Visual Studio can automate this refactoring process.
Renaming Identifiers in Visual StudioRenaming Identifiers in Visual Studio
Whilst refactoring code, it is often necessary to change the name of an identifier for a type, method, property or variable. Any name changes must then be reflected throughout the solution. This process is made simple with Visual Studio's Rename command.
Visual Studio Method Stub GenerationVisual Studio Method Stub Generation
When writing code, it can be useful to refer to methods that do not yet exist, with the intention of adding these methods later. Using Visual Studio's Generate Method Stub command, these methods can be automatically generated.
<< Previous | 1 | Next >>