Hi,
I've got a class that's got a bunch of public methods, and I'd like to reflect over it to find the set of member methods that could be used as a particular delegate.
For example:
delegate void InterestingFunc(int i);
class Entity
{
public void F();
public void G();
public void H(int i);
public void X(int i);
}
Can I use Type.FindMembers() to pull out the set { H, X }? If so, how? Is there a better way?