🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #238

Re: event versus simple delegate

#238
From: Francois PIETTE [ICS - MidWare]
Date: Sat, 29 Jul 2006 18:24
22 lines
1908 bytes
>> Delphi use unicast events while C# use multicast events. No problem.
>> I have a set of Delphi classes which for some operation communicates only
>> between them using Delphi events.
>> Porting to C#, I can create C# events corresponding to Delphi events. But
>> those C# events will of course be unicast only.
>
> Why can't the C# event be multicast?

I probably not expressed it correctly.
C#events are multicast.

> BTW, Both Delphi and C# can be made to do unicast or multicast.

Delphi events are unicast, altough you can write code to make something 
similar to an even multicast.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
francois.piette@overbyte.be
The author for the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
Technical Details
Message-ID: <44cba8c4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!news.code-werk.net!open-news-network.org!news.soft-gems.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail
References: <44cb7da5$1@newsgroups.borland.com> <1gwp3y1j6z26t$.dlg@dlg.marcrohloff.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,62beb5b391211bf0
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Francois PIETTE [ICS - MidWare]" <francois.piette@overbyte.be>
Newsgroups: borland.public.csharpbuilder.language.csharp
References: <44cb7da5$1@newsgroups.borland.com> <1gwp3y1j6z26t$.dlg@dlg.marcrohloff.com>
Subject: Re: event versus simple delegate
Date: Sat, 29 Jul 2006 20:24:41 +0200
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 81.244.49.158
Message-ID: <44cba8c4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1154197700 81.244.49.158 (29 Jul 2006 11:28:20 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!news.code-werk.net!open-news-network.org!news.soft-gems.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail