🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Reflection

#178
From: Net
Date: Sun, 15 Oct 2006 22:09
20 lines
1526 bytes
Hi, I'm in the process of learning c#, but i'm getting the hang of it pretty 
fast.  The problem is documentation.  I've read up on C# reflection, and i'm 
already using it, but there are certain things which aren't stated.  For 
instance, my issue is that of class references.  How do you do such in C#. 
Like for instance, delphi:

{* class reference declaration *}
TDBObjectClass = class of TDBObject;

{*
    Method returns the remotable object for a given
   class type...the method here is a class funciton
*}
TDBObject.GetRemotableClass(aClass: TDBObjectClass):TRemotable;
begin
   .....
end;


My issue is how do i declare TDBObjectClass in C#? 
Technical Details
Message-ID: <4532b184$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.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

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,cb9a38f60b6bc1f7,start
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Net" <netmaster0000@gmail.com>
Newsgroups: borland.public.csharpbuilder.language.csharp
Subject: Reflection
Date: Sun, 15 Oct 2006 18:09:15 -0400
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 209.59.94.170
Message-ID: <4532b184$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1160950148 209.59.94.170 (15 Oct 2006 15:09:08 -0700)
Path: arc1-ca.pugleaf.net!g2news2.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