🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indexed properties

#92
From: Nils Haeck
Date: Fri, 07 Apr 2006 09:52
12 lines
1524 bytes
> Another 'workaround' commonly used is to make each indexer it's own
> collection class. Like the Controls property on a form for example.

Yes I know I can add a collection class. But there are reasons for me to 
avoid this:

1. The source code is then completely different from my Delphi source
2. A collection needs to be initialized in its parent object, so it takes up 
space in all cases, even if the collection is empty. In case of a parent 
object of which there exist a few million, this will add up.

Nils 
Technical Details
Message-ID: <44363557$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <442dc6a5$1@newsgroups.borland.com> <442e3f8a$1@newsgroups.borland.com> <1gx6nf1imch9z$.dlg@dlg.marcrohloff.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,8168306bbf9f2550
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Nils Haeck" <bla@bla.com>
Newsgroups: borland.public.csharpbuilder.language.csharp
References: <442dc6a5$1@newsgroups.borland.com> <442e3f8a$1@newsgroups.borland.com> <1gx6nf1imch9z$.dlg@dlg.marcrohloff.com>
Subject: Re: Indexed properties
Date: Fri, 7 Apr 2006 11:52:55 +0200
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 62.108.23.246
Message-ID: <44363557$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1144403287 62.108.23.246 (7 Apr 2006 02:48:07 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail