Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Support for .NET (C++/CLI) properties?

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
devarni Posted - Mar 16 2012 : 06:26:37 AM
It seems there is no support yet?

I mean something like this:


property String^ Name{
   String^ get(){ return this->do_stuff_there() ;}
   void set(String^ value){this->do_stuff_there(value);}
}


There should be a refactoring to introduce a property to replace a variable and a "add property" for create a new property from scratch.
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Mar 16 2012 : 8:42:04 PM
We are planning to improve the parsing of properties:

case=24121

Regarding refactoring: we already have it, its name is Encapsulate field.
You can create a Visual Assist snippet if you would like to create a property from the scratch:

VAssistX -> Tools -> Edit VA Snippets...

Just grab the snippet for C# -> Refactor Encapsulate Field to use it as a starting point for your new one.

Snippets are quite powerful, you can read more about them after the jump:
http://www.wholetomato.com/products/features/vasnippets.asp

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