πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Reflection

#181
From: Francois PIETTE [ICS - MidWare]
Date: Tue, 17 Oct 2006 16:37
33 lines
2057 bytes
If you contact me by email, I have some C# source code to share. This code 
show how to handle metaclass with C#.

-- 
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


"Net" <netmaster0000@gmail.com> a οΏ½crit dans le message de news: 
4532b184$1@newsgroups.borland.com...
> 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: <453506cc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.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: <4532b184$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,cb9a38f60b6bc1f7
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII
From: "Francois PIETTE [ICS - MidWare]" <francois.piette@overbyte.be>
Newsgroups: borland.public.csharpbuilder.language.csharp
References: <4532b184$1@newsgroups.borland.com>
Subject: Re: Reflection
Date: Tue, 17 Oct 2006 18:37:08 +0200
Lines: 35
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.2962
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 81.243.164.64
Message-ID: <453506cc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1161103052 81.243.164.64 (17 Oct 2006 09:37:32 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.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