Code generator for making those pesky property accessors

  • Thread starter Thread starter thechaosengine
  • Start date Start date
T

thechaosengine

Hi all,

Does anyone know of a decent code generator that would take in the details
of the variables I would like my class to have and then make the property
accessors from that information?

It seems I spend ages at the begining of a project just writting that same
old very elementary crap :-)

Thanks all

tce
 
Hi,

I don't know of any in VS.NET 2003 , in 2005 all you have to do is refactor
and select "Encapsulate field" it will create the property and IIRC will
search all the project files and change it to reference the property instead
of the field.

Cheers,
 
Back
Top