New Advanced PropertyGenrator Tool with RaisePropertyChange Optional

3 views
Skip to first unread message

Swapnil Rathi

unread,
Feb 6, 2013, 1:19:48 PM2/6/13
to iepun...@googlegroups.com

Something useful while development.....check it guys...if found good then enjoy!!

 

Getting bored of Creating Property one  at a time and including RaisePropertyChange in setter. Here the solution to get rid of this boring task and also to save some time.

 

This property generator tool will generate properties for all private variables in a class in one go with RaisePropertyChange as option in setter. This tool will also put get and set code in separate line which will save our time for refactoring.

 

How to use this addin?

-          Copy the attached files to C:\Users\alias\Documents\Visual Studio 2010\Addins and restart your Visual Studio 2010. You will get PropertiesGenerator  option in Tools menu. This tool will generate properties for the class file currently opened.

 

Please go through the images attached below for how to use it.

 

 

 

 

 

 

 

 

This tool will give error when the class on which the tool is running is inheriting from base class. Kinldy remove the base class and run the tool and then add base class again.

 

 

 


image005.png
image001.png
image002.png
image003.png
image004.png
Reply all
Reply to author
Forward
0 new messages