L
Lieven De Foor
Guest
Adding code at the handler side isn't ideal (you can't force that). The only workaround I see is not use events or make them private, and use an observer pattern. Since you somehow need to keep track of all observers, you can also release them at will... A welcome addition to the language could be an UnsubscribeAll() method on the event...
Continue reading...
Continue reading...