enumerate files and objects in the .net project

  • Thread starter Thread starter Boris Pelmenstein via .NET 247
  • Start date Start date
B

Boris Pelmenstein via .NET 247

(Type your message here)

I want to get the list of the files and objects (e.g. classes) inmy .net project.
Currently I see only one way:
to get the folder containing the solution, get all the files withthe extension ".vb", next the files with the other givenextension (if I know it), etc. However here I get the list ofthe files ONLY - without knowledge about object's name and typethat this file represents.

May be anyone knows if another way does exist to get theproject's objects list does exist on the object level of theproject?
For example from enumerating the project objects (below is wantedpseudocode):

for each obj in the MySolution.objects
console.writeline(obj.name)
next

Thank you very much in advance
Boris
 
Back
Top