Re: Consuming your own events.
"Hewitt, Simon C. (Contractor)" <[email protected]> Fri, 1 Feb 2008 14:04:28 -0000
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <CF362B9DFA7D2544934516DFA1459AEC025BEB0E@BP1XEUEX709-C.bp1.ad.bp.com> |
Have a look in the MSDN help for all the instances where RaiseXXX is used. Also the INotifyProperty uses NotifyPropertyChanged in all its examples. Not quite so consistent an implementation I suppose. Cheers Simon -----Original Message----- From: Discussion of development on the .NET platform using any managed language [mailto:[email protected]] On Behalf Of Daniel Petersson Sent: 01 February 2008 11:36 To: [email protected] Subject: Re: [DOTNET-CLR] Consuming your own events. sorry, SerialSeb but after reading through most of the comments on this thread, the article refered to by Peter Ritchie, I have to agree with Peter and some others. IMHO the On<TheEvent> model pattern/model defined by Microsoft is good-enough (and implemented consistently in the BCL) for simple event handling and that the introduction of a new version isn't justified. For more complex event cases I still argue that callback interfaces that reflect the complete protocol is the sustainable approach; (such cases could handle so many more aspects of event:ing that I'm note even sure that it should be called event:ing, it is more a message-passing system). regards, Daniel =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com