Finding all classes containing a method in C#
Posted
by Loren Pechtel
on Stack Overflow
See other posts from Stack Overflow
or by Loren Pechtel
Published on 2010-05-05T19:02:10Z
Indexed on
2010/05/05
19:08 UTC
Read the original article
Hit count: 196
c#
|reflection
I want to search through all classes in a namespace for those containing a certain method. If a class contains a method then I want to create an instance of the class and run the method.
Obviously I have to start with reflection but I'm stuck on where to go.
© Stack Overflow or respective owner