programmatic Reflector control

Nov 27, 2007 at 11:58 AM
Hi,
I would like to be able to open reflector (or switch to an active instance if there is one) and navigate to a type / member programmatically. This is to integrate reflector with a text editor.
Is there any way to do this using command line / automation / existing addin?
If not I guess I would write an Addin that exposes the Addin API to other processes.
Thanks.
Coordinator
Nov 28, 2007 at 6:46 AM
Have a look at this code sample:
http://www.codeplex.com/reflectoraddins/SourceControl/DirectoryView.aspx?SourcePath=%24%2freflectoraddins%2fSource%2fRemoteController&changeSetId=7860
Dec 1, 2007 at 8:48 PM
Thanks.
Do you have any details on the format of the string passed?
I have gleaned a fair amount from TestDriven.Net.
It seems to use the syntax used in xml documentation for crefs but i haven't tracked down a definition for this.
Coordinator
Dec 1, 2007 at 11:55 PM
You can pass either a "code://" identifier or an XML documentation key.

Code Identifier:
http://www.codeplex.com/reflectoraddins/SourceControl/FileView.aspx?itemId=19998&changeSetId=7860

XML doc key:
https://www.codeplex.com/Thread/View.aspx?ProjectName=reflectoraddins&ThreadId=14422