How would I use reflection to call all the methods that has a certain custom attribute?
Posted
by RoboShop
on Stack Overflow
See other posts from Stack Overflow
or by RoboShop
Published on 2010-05-14T04:19:13Z
Indexed on
2010/05/14
4:24 UTC
Read the original article
Hit count: 185
I have a class with a bunch of methods.
some of these methods are marked by a custom attribute.
I would like to call all these methods at once.
How would I go about using reflection to find a list of all the methods in that class that contains this attribute?
© Stack Overflow or respective owner