Westwind.Scripting Class Reference
CSharpScriptExecution.CompileClass
Table of Contents
On this page:

CSharpScriptExecution.CompileClass

This method compiles a class and hands back a dynamic reference to that class that you can call members on.

Must have include parameterless ctor()

public object CompileClass(string code)

Parameters

code
Fully self-contained C# class

Overloads

public Type CompileClassToType(string code)
public object CompileClass(Stream code)

© West Wind Technologies, 2025 • updated: Apr 27, 2025
Comment or report problem with topic