This page describes in details Property Extraction Refactoring of TytanNET.

Introduction

One of the most common actions done during coding in .NET is encapsulating fields. That trivial task wastes a lot of time. Hopefully TytanNET AddIn introduces the ability to automatically generate getters and setters for selected fields.

Steps To Run

To run Property Extraction Refactoring follow the steps:
  • create a class or structure with required fields
  • place cursor inside that class (or select required fields only)
  • from the Refactoring menu select Extract Property command, what will show the dialog with options to specify:

Property before
  • next place a tick close to each name
  • click [OK] button to complete and see the result:

Property after


SAVED 3 MINUTES of boring coding!

Last edited Aug 19, 2008 at 10:12 AM by FeydRauth, version 3

Comments

No comments yet.