But can CodeDom extend existing code eg 

Add a color to the existing colors enumeration ( this is not what I want
to do just an example) 

Regards, 

        Ben 

> -----Original Message-----
> From: Unmoderated discussion of advanced .NET topics.
[mailto:ADVANCED-
> [EMAIL PROTECTED] On Behalf Of Ali Khawaja
> Sent: Tuesday, 17 May 2005 4:22 PM
> To: [email protected]
> Subject: Re: [ADVANCED-DOTNET] Enumerations
> 
> You can use CodeDOM to create, compile and use your
> own types at runtime.(and any other code that you
> want; essentially CodeDOM allows you to generate code)
> 
> 
> Ali
> 
> > >From: Ben Kloosterman <[EMAIL PROTECTED]>
> > >Reply-To: "Unmoderated discussion of advanced .NET
> > topics."
> > ><[email protected]>
> > >To: [email protected]
> > >Subject: [ADVANCED-DOTNET] Enumerations
> > >Date: Tue, 17 May 2005 14:08:11 +1000
> > >
> > >Hi All ,
> > >
> > >Is there any way of extending an existing
> > enumeration with new fields at
> > >run time using Reflection  ?  I have used
> > enumbuilder  to create a new
> > >enum but what I really want is to modify an
> > existing enumerations at run
> > >time .  By adding  additional entries from an Xml
> > file or table .
> > >
> > >Regards ,
> > >
> > >Ben
> > >
> > >===================================
> > >This list is hosted by DevelopMentor(r)
> > http://www.develop.com
> > >
> > >View archives and manage your subscription(s) at
> > http://discuss.develop.com
> >
> >
> _________________________________________________________________
> > Job hunting?
> >
>
http://ads.mediaturf.net/event.ng/Type=click&FlightID=18377&AdID=47843&T
ar
>
getID=10169&Targets=10169&Values=414,1264,1756,3035&Redirect=http:%2F%2F
ww
> w.timesjobs.com%2FMSN%2F
> > Get the right one! Log on to www.timesjobs.com TODAY
> >
> > ===================================
> > This list is hosted by DevelopMentor(r)
> > http://www.develop.com
> >
> > View archives and manage your subscription(s) at
> > http://discuss.develop.com
> >
> 
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
> 
> View archives and manage your subscription(s) at
> http://discuss.develop.com

===================================
This list is hosted by DevelopMentor�  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to