Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 C# Refactor Encapsulate Field
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Knuddlbaer
New Member

3 Posts

Posted - Oct 14 2007 :  10:43:15 AM  Show Profile  Reply with Quote
Encapsulate to i got this:


        string to;
        public string To
        {
            get { return to; }
            set { to = value; }
        }


THere any chance to format the result like this:


        public string To
        {
            get { return to; }
            set { to = value; }
        }  string to;


rhummer
Tomato Guru

USA
527 Posts

Posted - Oct 14 2007 :  3:53:13 PM  Show Profile  Reply with Quote
you could change the auto text entry for Encapsulate Field, to put the variable declaration there, but you would have to manually remove the first declaration.

I wouldn't see this being changed, simply because it gets into code formatting, which is a nasty topic between programmers :)

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

Knuddlbaer
New Member

3 Posts

Posted - Oct 15 2007 :  06:26:43 AM  Show Profile  Reply with Quote
> which is a nasty topic between progra
Yes, it is =o)

Thanks you for response.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000