{* 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#?
Unless you write your own metaclasses, C# does not support class references
per se. So the answer is, you can't declare class references without writing
metaclasses yourself.
Joanna
--
Joanna Carter [TeamB]
Consultant Software Engineer
> TDBObject.GetRemotableClass(aClass: TDBObjectClass):TRemotable;
> My issue is how do i declare TDBObjectClass in C#?
The nearest thing available is to use the System.Type class and create
instances using reflection (Activator.CreateInstance)
--
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
--
francoi...@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" <netmas...@gmail.com> a écrit dans le message de news:
4532b184$1...@newsgroups.borland.com...