Reflection

  • Thread starter Thread starter Jens Meyer
  • Start date Start date
J

Jens Meyer

Hallo,

Gibt es eine Möglichekit, alle Typen im GAC zu bekommen, die
eine bestimmte Schnittstelle implementieren?
Also etwas in der Art wie:
Type[] types = GAC.GetTypes("SchnittstelleXY");


Jens
 
Hi,

Oh send to english newsgroup, sry.

Jens said:
[german text]

Here in engl.:
Is there a possibility to get all types from GAC, which implements a
special interface? Something like:
Type[] types = GAC.GetTypes("InterfaceXY");


Jens
 
Jens,
Here in engl.:
Is there a possibility to get all types from GAC, which implements a
special interface? Something like:
Type[] types = GAC.GetTypes("InterfaceXY");

Not without explicitly enumerating and loading every assembly in the
GAC and calling GetTypes on each. You probably don't want to do that.



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top