dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: [RESOLVED] Delegates: A simple question

Threaded View

  1. #1
    Join Date
    Apr 2008
    Posts
    61

    [RESOLVED] Delegates: A simple question

    Hi Forum members,

    I have been refreshing my understanding of Delegates, and I have a very simple question concerning the terminology. My source of information is from the excellent book, "Pro C# 2008 and the .NET 3.5 Platform" (would highly recommend).

    While I understand the Delegate/Event model, I'm slightly confused over the terms 'caller' and 'listener'. My present understanding is that the 'caller' is the object who will assign one of it's methods to the Delegate type. And 'listener' is the aforementioned method that will be invoked when the event is fired by the Delegate; 'listener' being the 'event handler'.

    Or am I misunderstanding the terminology?

    Many thanks in advance.
    Last edited by mshdsp; January 15th, 2010 at 03:44 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)