Hi!
Maybe its me but I am unable to find some tool to refactor my C++
Builder Project (Namespaces etc.).. is there any? If not, is there any
other c++ refactor tool that I could use for that?
thanks!
Alex
1. Refactor .NET code using Visual Studio and Refactor! Pro - CSharp/C#
2. Refactor or code snipple to generate a constructor based on instances variables
3. assistance to refactor similar methods - CSharp/C#
4. Refactor-safe Property Access Using Reflection?
Hello:
I have been seeing a lot of cool examples where developers are using
expression trees to make refactoring and reflection go hand-in-hand. I
am wondering if a trick like that could be performed with properties.
I don't have much first-hand experience with expression trees.
In my system, we have GUI and non-GUI applications. I have a service
layer that returns data objects. When I attach my data objects to a
Windows Form, I decorate them to support INotifyPropertyChanged. The
decorator has methods for getting and setting property values of the
decorated data object.
I have a method that looks like this:
void SetValue<T>(string propertyName, T value) { ... }
This method goes into the decorated data object and sets it's
property. It then raises a PropertyChanged event (passing the property
name).
Now say I change my data object's property names. With the
implementation above, my decorator throws an exception because the
property cannot be found (because it is referring to the old name).
I was hoping to alleviate this by replacing my string with something
spiffy. I was wondering if anyone could think of a way to do it. We're
dealing with a user interface here, so performance isn't that
important.
Thanks,
Travis
5. 'Refactor' folder info - CSharp/C#
I've been using VS2005 for a mixed C# / C++ project. Somewhere along the line it seems that 'refactor' on the context menu disappeared for C++ projects. I do believe that this was working at one time. Is this a known bug?
How do I refactor in C++?