devoured elysium
devoured elysium

Reputation: 105037

Delegates and VisualStudio IDE

I have the following code on a control of my own:

MethodInvoker _mi;
public MethodInvoker MI { get { return _mi; } set { _mi = value; } }

I thought the IDE would recognize this delegate, and allow me to choose a suitable already implemented function or create a new one if I wanted, just like it does to events, although at least at first glance, that does not seem to be the case. Is there a way to set a function to a delegate through the IDE?

Upvotes: 0

Views: 165

Answers (1)

Arsen Mkrtchyan
Arsen Mkrtchyan

Reputation: 50712

no there is not, use event if you want to use that feature

Upvotes: 1

Related Questions