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
 Feature Requests
 Move and Create Impleme... for Property in C++/CLI
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mtwombley
Senior Member

Canada
29 Posts

Posted - Aug 07 2008 :  6:02:26 PM  Show Profile  Reply with Quote
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

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Aug 08 2008 :  10:47:11 AM  Show Profile  Reply with Quote
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

zen is the art of being at one with the two'ness
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