codedom
An alternative for "CSharpCodeProvider.Parse"
I\'m looking for an alternative for CSharpCodeProvider.Parse. The method was supposed 开发者_JS百科to parse a [C#] code source and return a CompileUnit object. However, the method isn\'t implemented i[详细]
2023-01-14 21:02 分类:问答How to implement "Handles" via Codedom
I\'ve been trying figure out how to add a handler to a method using Codedom, but am not getting very far.[详细]
2023-01-12 03:18 分类:问答Codedom and string handling
I\'ve researched on t开发者_开发百科his but couldn\'t find anything solid and wanted to see if someone can point me in the right direction. I\'m trying to see if Codedom can handle strings and concant[详细]
2023-01-11 08:16 分类:问答Removing items in code generated from Codedom
Is there a way to remove items in code generated in Codedom from VB code? For example at the top of all the code I gener开发者_Go百科ate, it has:[详细]
2023-01-11 03:34 分类:问答Can CodeDom add Source Code Files to a Project?
I have been using CodeDom to do some code generation. It works great, but I haven\'t found a way to include the generated source code files in a project. I started using T4 and the T4Toolbox to genera[详细]
2023-01-09 00:12 分类:问答How do I access the CodeDomProvider from a class inheriting from Microsoft.VisualStudio.TextTemplating.VSHost.BaseCodeGeneratorWithSite?
Does anyone know how to get a CodeDomProvider in the new Microsoft.VisualStudio.TextTemplating.VSHost.BaseCodeGeneratorWithSite from the Visual Studio 2010 SDK? I used to get access to it 开发者_开发百[详细]
2023-01-08 20:40 分类:问答Are there any changes to the CodeDom API in .net 4?
Are there an开发者_如何学JAVAy changes to the CodeDom API in .net 4? http://msdn.microsoft.com/en-us/library/y2k85ax6.aspx[详细]
2023-01-08 03:47 分类:问答C# 4.0: Expression trees vs. CodeDom
What are the differences between Expression trees a开发者_如何学Pythonnd CodeDom? Which should I use for which scenario?Expression trees have a lot in common with (for example) an AST. It doesn\'t map[详细]
2023-01-07 22:44 分类:问答Extension Method in Dynamically Generated Assembly?
I\'m trying to include an extension methods static class in a dynamically generated assembly, except that i keep getting a compiler error of\'Type expected\' at line 6, column 28, which happens to be[详细]
2023-01-06 20:32 分类:问答Load the code DOM from a binary
Is it 开发者_开发百科possible to load the CodeDOM from a .NET binary created using C#?No.CodeDOM is limited to generated and/or parsing source.[详细]
2023-01-04 07:40 分类:问答