codedom
Reflect and Load code at design time in Visual Studio
I have an XML file that lists a series of items, and the items are often referenced by their name in code.[详细]
2022-12-23 01:57 分类:问答Generate custom class at design time
I have a component which has a collection of objects (DataProviders). Each DataProvider has a unique name set by the user at design time.[详细]
2022-12-18 17:08 分类:问答How to add a partial method without an implementation using CodeDom
internal List<CodeMemberMethod> createEventHooks() { string[] eventNames = new string[] { \"OnUpdate\", \"OnInsert\", \"OnDelete\", \"OnSelect\", \"OnSelectAll\" };[详细]
2022-12-18 07:05 分类:问答Which .NET Programming Languages Have a CodeDom Provider?
Aside from C#, VB.NET, C++ (Managed an开发者_开发知识库d C++/CLI), and F#, which .NET programming languages have their own CodeDom provider?I thought about making one for UnrealScript, but I run into[详细]
2022-12-17 10:50 分类:问答Generate C# automatic properties with Codedom
is there a way Generate C# automatic prope开发者_StackOverflowrties with Codedom or maybe an other set of libreries that i can use ?You can use CodeSnippetTypeMember class for that purpose.[详细]
2022-12-17 02:46 分类:问答Is it possible to construct an object by reading source code?
Background I have a few scripts that run as part of my build process that look at the various source code files and generate some more source code for me.[详细]
2022-12-13 01:45 分类:问答Dynamic code generation
I am currently developing an application where you can create \"programs\" with it without writing source code, just click&play if you like.[详细]
2022-12-11 10:31 分类:问答CodeDom.compiler memory
I am generating assembly on runtime . Problem is that i cant get rid-of it after i am done with it. I need to destroy this assambly what i have created[详细]
2022-12-09 17:21 分类:问答Debugging a generated .NET assembly from within the application that generated it
The question in short: How can I debug the code generated during a debugging session on the generating program? (see code below)[详细]
2022-12-08 19:00 分类:问答