can event properties be part of the interface?

  • Thread starter Thread starter puzzlecracker
  • Start date Start date
P

puzzlecracker

I have about 100 of this sort in my main clas, and I would like to put
them into interface:

in Main class:
public event onFooHandler OnFoo { add { m_dispatcher.onFoo +=
value; } remove { m_dispatcher.onFoo -= value; } }
....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top