How to invoke a Move type to Namespace action

I wrote a plugin that chains together the MoveToAnotherFileAction and a customer action which moves a file from one project to a reference project. The next step I would like to chain would be a rename of the namespace of the file that was moved into the project.

Can I invoke the namespace rename programatically? I would be ok if the Move class dialog box was displayed but that is not a requirement. Attached is the screen shot of the action that I want to invoke. I spent 5 hours in reflector and object browser trying to figureout what action is getting invoked but I have not been able to nail it down.

The source for my plugin is available here:
http://resharper-tdd-productivity-plugin.googlecode.com/svn/trunk/


The project homepage is here:
http://code.google.com/p/resharper-tdd-productivity-plugin/

Thanks,
Eric



Attachment(s):
MoveTypeToAnotherNamespace.JPG

Please sign in to leave a comment.