Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 C# Refactor Encapsulate Field

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Knuddlbaer Posted - Oct 14 2007 : 10:43:15 AM
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;


2   L A T E S T    R E P L I E S    (Newest First)
Knuddlbaer Posted - Oct 15 2007 : 06:26:43 AM
> which is a nasty topic between progra
Yes, it is =o)

Thanks you for response.
rhummer Posted - Oct 14 2007 : 3:53:13 PM
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 :)

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000