codedom Questions
3
Solved
What are some pros/cons for using the Reflection.Emit library versus CodeDOM for dynamically generating code at runtime?
I am trying to generate some (relatively complicated) dynamic classes in a ...
Mcneil asked 2/3, 2010 at 21:29
1
Solved
Is it possible to add a Finalizer to a CodeDom generated class (other than using CodeSnippetTypeMember)?
I couldn't find any information about it on MSDN.
1
Aside from C#, VB.NET, C++ (Managed and C++/CLI), and F#, which .NET programming languages have their own CodeDom provider?
Handsomely asked 18/1, 2010 at 5:56
6
Solved
I am currently developing an application where you can create "programs" with it without writing source code, just click&play if you like.
Now the question is how do I generate an executable p...
Alee asked 17/11, 2009 at 11:11
1
I have some C# code (let's call it "script") I am compiling at runtime. It uses an interface in my main program that I use to access its functions. Once compiling is done I have CompilerResults.Com...
Tracee asked 22/9, 2009 at 22:15
2
Solved
Here's what I want the resulting class declaration to look like:
public sealed partial class Refund : DataObjectBase<Refund>
{
}
}
This code (snipped):
targetClass = new CodeTypeDeclara...
Bran asked 28/8, 2009 at 16:58
2
Solved
Html can contain little bits of Javascript embedded in it (e.g. defined in onclick event handlers).
If I were writing an Html browser using a dotNet language like C#, what technologies or APIs co...
Priory asked 14/9, 2009 at 21:6
2
Solved
How can I make sure the CS generated from code like the following is formatted nicely, i.e as if we pressed CTRL+K+D? It is C#
We are doing something along the lines of:
CodeMemberMethod membMeth...
Dekko asked 28/8, 2009 at 16:30
2
Solved
Is there a way in .NET 3.0 (or earlier) to get a string representation of a method? I know that I can get an IL byte array from a MethodBody object, but I'm interested in getting a string that esse...
Increasing asked 25/6, 2009 at 14:0
1
Solved
does anyone know a way to call a generic method of a base class with CodeDom?
I have no problem calling a standard method, but I can't find a solution to call the generic.
The code I use to call ...
6
Solved
I'd like to execute JavaScript code from within a C# assembly and have the results of the JavaScript code returned to the calling C# code.
It's easier to define things that I'm not trying to do:
...
Synod asked 15/9, 2008 at 22:50
© 2022 - 2024 — McMap. All rights reserved.