Hi,

I'm developing a dynamic language that runs on top of the CLR. I want  
programmers to be able to access types in CRL assemblies by just  
writing something like System.Int32, just like in C#.

Namespaces in the CLR are just a string attribute attatched to each  
type, so what's the best way to get a list of all the types in a  
particular namespace? Do I have to search through all types in the  
AppDomain and look at the namespace attribute? Won't that be very  
slow as touching every type with lazy load huge amounts of data  
structures that I won't actually use?

I'm thinking about creating a Namespace class that has a list of  
member types and child namespaces. Is there anything like this already?

Thanks very much.

Chris Seaton
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to