O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the Class Designer to Refactor

The class designer enables you to view the contents of your classes and their relationships. It can also be used as a productivity tool: you can create new classes and modify existing ones directly within the designer.

Note

The class designer is covered in Chapter 6, “Introducing the Editors and Designers.”

The class designer also supports refactoring. For example, you can rename elements within your classes or change their signature and the operation will use the compiler to update references accordingly. Figure 9.5 shows renaming a class directly within the diagram. Hitting enter after this rename will update references.

FIGURE 9.5 Refactoring within the Visual Studio class designer.

Note

In the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required