Re: [DOTNET] CodeDOM & #region

2002-06-20 Thread Ramakrishna Vavilala
You can use CodeSnippetExpression, CodeSnippetStatement -Original Message- From: Andres Aguiar [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 1:52 PM To: [EMAIL PROTECTED] Subject: [DOTNET] CodeDOM & #region Is there any way to add a #region directive to a CodeDOM? Th

[DOTNET] CodeDOM & #region

2002-06-20 Thread Andres Aguiar
Is there any way to add a #region directive to a CodeDOM? Thanks. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] CodeDom: How to generate inheritance code?

2002-05-10 Thread Rama Krishna
CodeTypeDeclaration has BaseTypes property you need to use that to add all the base types. -Original Message- From: Paresh [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 10:57 AM To: [EMAIL PROTECTED] Subject: [DOTNET] CodeDom: How to generate inheritance code? My goal is to

[DOTNET] CodeDom: How to generate inheritance code?

2002-05-10 Thread Paresh
My goal is to generate something like class Employee : Person, ICustomInterface { ... } So far I get the class from CSharpCodeProvider CodeProvider = new CSharpCodeProvider(); ICodeGenerator Generator = CodeProvider.CreateGenerator(); CodeNameSpace Namespace = new CodeNamespace("TestName

[DOTNET] CodeDom

2002-04-14 Thread Saar Carmi
Hi. I would I define a static constructor using CodeDom? I used CodeConstructor and set its attribute to MemberAttribute.Static, but the output was not static. Saar You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://disc