Updated: 4/28/2002; 11:20:23 PM.
.net
.net stuff
        

Monday, April 15, 2002


In response to Chris Sells' query for a declarative language for constructing .NET CodeDom graphs, I present Xml2CodeDom. This tiny program uses reflection to construct objects and set properties as specified in an XML file. The resultant graph can then be used to generate compilable code in C#, JScript.NET, VB.NET, or any other language for which an appropriate ICodeGenerator implementation is available. Unfortunately, even the simplest of programs can turn into verbose monstrosities as evidenced by this HelloWorld example. But imagine having to write the code that constructs that tree by hand!
11:23:36 PM    comment []  



© Copyright 2002 .
 
April 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Mar   May


Click here to visit the Radio UserLand website.


Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.