本文介绍了获取应用程序中所有被调用方法的引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在做一个Windows应用程序,在其中提供了Web应用程序DLL的路径,并且在使用Reflection检索方法名称和方法信息方面很成功.现在我需要对这些方法的引用(即我需要的被调用方法信息...).被调用方法可能在另一个.CS文件中. 请提供一些有关如何获取调用方法参考的信息. 在此先感谢您.
Hi, I am doing a Windows application where I provide the path of the web application DLL and I am succesfull in retrieving the method names, method info using Reflection. Now I need the reference made to that methods (i.e Called method info i need ...).The called method may be in another .CS file. Please provide some information on how can I get reference of the calling methods. Thanks in advance.
推荐答案您可以在IDE中执行此操作,右键单击方法名称和其中的一个选项.您也可以进行文本搜索.在运行时,不添加代码就不能. You can do that within the IDE, with a right click on the method name and one of the options there. You can also do a text search. At runtime, without adding code, you cannot.
更多推荐
获取应用程序中所有被调用方法的引用
发布评论