Encapsulate Field

It’s common to have a private field in your object from which you need to create a property. These fields might have been built as private because they were used only internally to the object. Alternatively, a developer might have simply defined a public field instead of encapsulating it as a property. In either case, if you need to make an actual property out of a field, you can do so with the Encapsulate Field refactor operation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset