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
 
Back
Top