在解决方案资源管理器中搜索 [英] Searching in Solution explorer

查看:83
本文介绍了在解决方案资源管理器中搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我的要求主要集中在解决方案资源管理器的右键单击上搜索接口,类,方法和属性.
例如:VSIDE中当前正在运行/正在运行的示例解决方案
MySolution
| _ Project1
| _ MyInterface.cs
| _MyClass1.cs
| _MyClass2.cs
| _属性
| _ AssemblyInfo.cs
| _ Project2
| _Project2interface.cs
| _Project2Class1.cs
| _ Project2Class2.cs
| _ Project2Class3.cs
我需要在此时获取所有这些信息
MySolution
-------------------------------------------------- ----
|解决方案资源管理器----->右键单击|
|建造|
|重建|
|清洁|
|添加.... |
| |
|获取项目详细信息|
---------------------------------------------
当我单击(获取项目详细信息).我需要从当前运行的解决方案中获取Windows窗体中的所有接口/类/方法/属性.
-------------------------------------------------- ---------------------------
| Windows窗体上的示例信息|
| MyProject1(projectName).MyInterface(interfaceName)|
| MyProject1(项目名称).MyClass1(类名称)|
| int Add(int a,int b)|
| int Sub(int a,int b)|
| MyProject1(项目名称).MyClass2(类名称)|
| int mult(int a,int b)|
| int Divide(int a,int b)|
| |
| MyProject2(项目名称).Project2interface(接口名称)|
|字符串concat(字符串a,字符串b)|
| Myproject2(项目名称).Project2Class1(类名称)|
|字符串附加(字符串a,字符串b)|
| Myproject2(项目名称).Project2Class2(类名称)|
|字符串复制(字符串a,字符串b)|
| Myproject2(项目名称).Project2Class3(类名称)|
|字符串截断(字符串a,字符串b)|
| |
-------------------------------------------------- --------------------------
重要说明:不应从程序集(dll文件)中读取(不能使用反射)
请让我知道我应该怎么做,感谢您的帮助.
谢谢,
MS

Hi All,
I have a requirement that primarily focusses on Searching Interfaces, Classes, Methods and properties on the Right Click of Solution Explorer.
ex: Sample Solution currently working/running in the VSIDE
MySolution
|_ Project1
|_ MyInterface.cs
|_MyClass1.cs
|_MyClass2.cs
|_ properties
|_ AssemblyInfo.cs
|_ Project2
|_Project2interface.cs
|_Project2Class1.cs
|_ Project2Class2.cs
|_ Project2Class3.cs
I need to get all this information at this point of time
MySolution
------------------------------------------------------
| Solution Explorer-----> Right Click |
| BUILD |
| REBUILD |
| CLEAN |
| ADD .... |
| |
| Get Project Details |
---------------------------------------------
When I Click (Get Project Details). I need to get all the interface/Classes/ methods/properties in Windows Form from currently running solution.
-----------------------------------------------------------------------------
| Sample information on Windows Forms |
| MyProject1(projectName).MyInterface(interfaceName) |
| MyProject1(projectname).MyClass1(className) |
| int Add(int a, int b) |
| int Sub(int a, int b) |
| MyProject1(projectname).MyClass2(className) |
| int mult(int a, int b) |
| int Divide(int a, int b) |
| |
| MyProject2(projectname).Project2interface(interfaceName) |
| string concat(string a, string b) |
| Myproject2(projectname).Project2Class1(className) |
| string append(string a, string b) |
| Myproject2(projectname).Project2Class2(className) |
| string copy(string a, string b) |
| Myproject2(projectname).Project2Class3(className) |
| string truncate(string a, string b) |
| |
----------------------------------------------------------------------------
Important Note: Should not read from the assembly(dll file) (can''t use reflection)
Please let me know what should be my approach, appreciate your help.
Thanks,
MS

推荐答案

然后编写一个Visual Studio插件! 有关Visual Studio插件的更多信息,您可以安全地使用Google或codeproject搜索.它将为您提供一些想法.
Write a Visual Studio Addin then!
For more information about Visual Studio Addins, you may safely use a google or codeproject search. It will give you some ideas.


这篇关于在解决方案资源管理器中搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆