🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.oodesign
Article #2

Re: Discussion: "class of" in Delphi is really an abstract factory

#2
From: Marc Rohloff TeamB
Date: Mon, 26 Jul 2004 22:56
17 lines
1577 bytes
On Sat, 24 Jul 2004 10:39:19 +0100, Peter Morris [Droopy eyes
software] wrote:

> In my search for the equivalent of "class of" in C# I finally came to the
> conclusion that
> 
> A) I don't actually need it
> B) What I really need is an abstract factory
This is true if you are using class references to create objects. This
doesn't handle virtual class methods though.

I know there are ways to get around class references but I have yet to
find a solution that is anywhere near as easy as Delphi's.

-- 
Marc Rohloff [TeamB]
marc rohloff at myrealbox dot com
Technical Details
Message-ID: <1r22hes93lu20$.dlg@marcrohloff.40tude.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.esat.net!zen.net.uk!dedekind.zen.co.uk!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41022e45$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe21,fee3079cf833bc45
X-Google-Attributes: gid1efe21,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: Discussion: "class of" in Delphi is really an abstract factory
Newsgroups: borland.public.csharpbuilder.oodesign
User-Agent: 40tude_Dialog/2.0.12.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <41022e45$1@newsgroups.borland.com>
Date: Mon, 26 Jul 2004 18:56:10 -0400
Message-ID: <1r22hes93lu20$.dlg@marcrohloff.40tude.net>
NNTP-Posting-Host: 4.225.96.37
X-Trace: newsgroups.borland.com 1090882446 4.225.96.37 (26 Jul 2004 15:54:06 -0700)
Lines: 17
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.esat.net!zen.net.uk!dedekind.zen.co.uk!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail