Can someone please tell me how I can extra开发者_如何转开发ct all the method signatures from a C# class? This class as such is not avaiable to my program (that is the project holding the class is not loaded in the Visual Studio).
Here's a link to a nice piece of code to get you started. The concept is reflection, by the way.
You should be able to copy and paste that code pretty much as is. Just provide the path to the assembly that you want to examine. If you only want a single, particular class then you fill have to add that filter.
So... you have the code and want to know the functions in that class?
Does opening the files which implement the class\ right-click\ Outlining \Toggle All Outlining in VisualStudio solve your problem?
精彩评论