c# - 查找 asp.net MVC 中 View 的所有引用

标签 c# asp.net-mvc visual-studio model-view-controller

如何找到哪个函数引用了所需的 View 例如

我查看了“板球”并且从以下位置调用它:

1-AddCricket function in HomeController
2-ViewCricket function in HomeController
3-ListCrickete function in Controller

如何找到以上信息

我说的是当我右键单击任何函数时出现的“查找所有引用”

最佳答案

唯一的办法是:

Ctrl +f => 搜索:return View("Cricket"

关于c# - 查找 asp.net MVC 中 View 的所有引用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9681306/

相关文章:

c# - Oracle:算术运算导致溢出

c# - 在内容页面之间遍历时 cookie 值消失

asp.net-mvc - ASP.NET MVC 主题最佳实践?

c# - 确定何时使用依赖注入(inject)

jquery - 根据模式确认对话框选择关闭 Bootstrap 警报

c# - 有没有办法通过检索 MySqlDataReader boolean 值在 Visual Studio C# 中打开/关闭复选框?

c# - Nhibernate envers,使用依赖注入(inject)将用户添加到修订实体中

visual-studio - Visual Studio 2010 : the application data folder for visual studio cannot be created

c++ - 如何解决 Visual Studio 2015 中的此编译错误?

mysql - ASP.Net 无法加载文件或程序集 MySql.Data