Searching in Solution Explorer

Nov 15 2010 4:08 PM

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
 

Answers (1)