🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: event versus simple delegate

#242
From: Francois PIETTE [ICS - MidWare]
Date: Sun, 30 Jul 2006 08:23
24 lines
2008 bytes
> |I was speaking about C# v1 which has a slightly different syntax.
> |
> | Can you explain what difference there is (C# V1) declaring an event 
> member
> | using the event keyword and declaring a member which is simply a 
> delegate
> ?
>
> C# 1.1 uses the longer syntax for multicast use but you can use the 
> shorter
> direct assignment for simple delegation.
>
> AFAICT, using the event keyword restricts use to multicast.

Does the event keyword has an impact on the IDE ?
Some of my events (those seen outside of the class set) are intended to be 
used from the IDE. I'm writing a set of non-visual components and would like 
to have it fully integrated within the IDE, any IDE if you see what I mean.

-- 
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: <44cc6ce5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44cb7da5$1@newsgroups.borland.com> <44cb81eb@newsgroups.borland.com> <44cba8c5@newsgroups.borland.com> <44cbc3a8@newsgroups.borland.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> <44cb81eb@newsgroups.borland.com> <44cba8c5@newsgroups.borland.com> <44cbc3a8@newsgroups.borland.com>
Subject: Re: event versus simple delegate
Date: Sun, 30 Jul 2006 10:23:12 +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: <44cc6ce5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1154247909 81.244.49.158 (30 Jul 2006 01:25:09 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail