Click here to Skip to main content
15,899,124 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
Currently I needed to document classes in my project. I s there any tool available which can tell which classes are references to which namespace, i mean grouping classes by namespace reference.
Posted

If you want to know the detail of Classes and their namespaces then go through this page:-
Classes And Namespace[^]

Good luck.
 
Share this answer
 
v2
Comments
shah dipen 19-Jul-12 0:24am    
Thanks for your reply, but what i want to do is, grouping classes in my project that references to particular namespace reference.
Sergey Alexandrovich Kryukov 19-Jul-12 1:49am    
There are not such things are namespace references.
--SA
Prasad_Kulkarni 19-Jul-12 1:24am    
Good link My 5!
Raje_ 19-Jul-12 7:00am    
Thank you Prasad.
Hi,

The similar Question is Here : How to parse Vstudio C# Project file and get all class names and get all methodnames and properties [^]

NRefactor may help you to find the solution.

This may help you.
 
Share this answer
 
v2
Comments
Prasad_Kulkarni 19-Jul-12 1:24am    
My 5!
AmitGajjar 19-Jul-12 2:08am    
Thank you prasad
Have a look at Doxygen[^]. It's a tool to create documentation from your source code. It can create several output formats. I tried HTML, which can show a namespace-sorted view.
 
Share this answer
 
v2
Comments
Espen Harlinn 19-Jul-12 18:01pm    
Doxygen works great :-D
lukeer 20-Jul-12 2:12am    
Glad to hear that.
Such tool cannot be found by one simple reason: classes do not reference namespaces. Nothing reference namespaces. Assemblies are referenced, and they have nothing to do with namespaces. Namespaces choice is absolutely free: you can have several different namespace in the same assembly an identical namespace in several different assemblies, related or not. First you need to understand what you want. The question, as it is formulated right now, makes no sense.

You can retrieve all references using Reflection; and this part of Reflection is quite simple. You can learn it from any source, MSDN help pages, for example. Again, please first understand what you really want.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900