Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Move and Create Impleme... for Property in C++/CLI

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
mtwombley Posted - Aug 07 2008 : 6:02:26 PM
This might seem crazy in C# with properties but because I'm coding in mixed mode my class properties might be wrappers to extern variables in unmanaged code. Might just be an issue of style, I'm still working on the kinks of my knowledge of mixed mode development.

Right now I can't Move Implementation to Source File or Create Implementation for this class on the properties.
Header File
public ref class MyCrazyClass
{
public:
property String ^NextPointID
{
   void set(String ^val);
   String ^get();
}


In my CPP file I have to manually type out
void MyCrazyClass::NextPointID::set(String ^val)
{
  ...// do what needs doing
}
String ^MyCrazyClass::NextPointID::get()
{
  ...// return whats needed
}


Thanks
Mark
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 08 2008 : 10:47:11 AM
This is an interesting idea. We are considering enabling Create Implementation for CLI properties, so I have added Move Implementation to Source File to this request:

case=7806

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