Westwind.Scripting
Westwind.Scripting copied to clipboard
Multiple CompileClass calls with a single CSharpScriptExecution instance?
Let's say I have two different classes that I will compile with CompileClass(). Can I compile them using one instance of CSharpScriptExecution, or do I need a new instance of CSharpScriptExecution for each class?
When I tried to use a single instance of CSharpScriptExecution, the second call to CompileClass() returned an instance of the first class, not the second.
Before each call to CompileClass(), I set the GeneratedClassName to a new, unique name.