codedom
Prevent CodeDom from splitting large strings
I am using CodeDom to generate C# code, and part of that involves to spitting out String variable contents. Sometimes, these strings can get to be quite long.[详细]
2023-02-13 15:33 分类:问答C# - Code compiler for .NET & CF.NET
I\'ve a same project that need to be compiled with .NET and Compact .NET Framework. It is possible to create a C#[详细]
2023-02-13 11:40 分类:问答C# CodeDOM: Adding Enum members at runtime
What I\'m trying to do is add a \"NoneOfTheBelow\" choice to all enums parsed from an XSD file. I\'m expanding on code from the Xsd2Code tool.[详细]
2023-02-13 00:56 分类:问答Parsing C# code (as string) and inserting additional methods
I have a C# app I\'m working on that loads it\'s code remotely, and then runs it (for the sake of argument, you can assume the app is secure).[详细]
2023-02-10 17:15 分类:问答Specifying a type alias using CodeDom
I am dynamically generating some c# code using the CodeDom.I want to ad a type aliasto the namespace.开发者_开发知识库Something like:[详细]
2023-02-10 09:57 分类:问答Newly built C# Assembly's access to predefined functions
Okay I will first admit I don\'t know the proper terminology for all this so I apologize if this is addressed already and I just am not using the appropriate words.[详细]
2023-02-09 19:42 分类:问答Can CodeDom create optional arguments when generating a c# method?
Can CodeDom create optional arguments when generating a c# method and provide a default value? For example:[详细]
2023-02-05 08:29 分类:问答Add WebService attributes to a class generated with CodeDom
I am using CodeDom to generate the c-sharp class for an ASMX webservice, but I\'m having trouble adding the web service attributes 开发者_C百科to the class. I am trying to get the following end-result[详细]
2023-01-22 18:49 分类:问答CodeDom and Silverlight
Can Silverlight apps (the .xap file, the testpage.html, content resources along side a ClientBin, out of browser settings, etc) be created using only System.CodeDom from a regular .NET app? Meaning I[详细]
2023-01-20 21:26 分类:问答Change Generated C# Class Name
I am using ManagementClass.GetStronglyTypedClassCode to get a reference to CodeTypeDeclaration instance. I would like to change the generated class name and this method doesn\'t allow for this (as far[详细]
2023-01-18 18:55 分类:问答