A
Andreas =?ISO-8859-1?Q?M=FCller?=
Hi,
I have a class that provides an event.
Class Test
Public Event MyEvent(ByVal iExpensiveParameter As Integer)
End Class
The problem is, that when the event is raised, a lot of expensive
computation has to be done to calculate the parameter of the event. So I
only would like to do that, if anybody has registered a handler for this
event. Is it possible to find that out?
Thanks in advance,
Andy
I have a class that provides an event.
Class Test
Public Event MyEvent(ByVal iExpensiveParameter As Integer)
End Class
The problem is, that when the event is raised, a lot of expensive
computation has to be done to calculate the parameter of the event. So I
only would like to do that, if anybody has registered a handler for this
event. Is it possible to find that out?
Thanks in advance,
Andy