Friday, June 18, 2004

Aaron has written a "Hello World" sample using Refly.

Refly is a helper wrapper around the CodeDom namespace that makes it much less "noisy". Refly is used in the Unit Test Generator Addin. If you are using CodeDom regularly, maybe you should have a look at this.

posted on Saturday, June 19, 2004 3:14:00 AM UTC  #    Comments [2]
Tracked by:
"thule roof rack" (online) [Trackback]
Monday, June 06, 2005 5:55:43 PM UTC
I couldnt find a method to add imports,is there one?
<br>
<br>Thanks
Mike
Monday, June 06, 2005 5:55:44 PM UTC
You can add imports on namespace, they will be added to all the classes in that namespace:
<br>
<br>NamespaceDeclaration ns = ...
<br>ns.Imports.Add(&quot;System.Xml&quot;);
<br>
<br>and you can also add namespace for each class, which will be applied separately:
<br>
<br>ClassDeclaration cs = ...
<br>cs.Imports.Add(&quot;System.Xml&quot;);
Jonathan de Halleux
Comments are closed.