获取应用程序中所有被调用方法的引用

编程入门 行业动态 更新时间:2024-10-28 19:28:21
本文介绍了获取应用程序中所有被调用方法的引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在做一个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.

更多推荐

获取应用程序中所有被调用方法的引用

本文发布于:2023-06-10 22:57:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/620887.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   方法

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!