C# Getter/Setter Macro

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
jussij
Site Admin
Posts: 2443
Joined: Fri Aug 13, 2004 5:10 pm

C# Getter/Setter Macro

Post by jussij » Fri May 16, 2008 12:40 am

By running the Zeus C# Getter/Setter Macro it is possible to take a field defintions like this:

Code: Select all

    private Table table; 
and produce getter and setter function like this:

Code: Select all

    private Table table; 

    public Table Table
    {
         get { return table; }
         set { table = value; }
    }
Cheers Jussi

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 2 guests