Hi,

Suppose I typed the following delegate:
public delegate void MyDelegate(int i);

This delegate is only bindable to functions getting an int as a parameter.

My question is: how can I get information to what type of functions a
delegate can bind to.
Basically I want to write a function which accepts a typeof(MyDelegate) and
is able to check if the MemberInfo of a method is bindable to this delegate.

Any ideas?

Thanx,
Piewie

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to