Compiles a script into an in-memory script assembly for later evaluation.
- Namespace
- Statiq
.Core - Containing Type
- ScriptHelper
Syntax
protected virtual byte[] Compile(string code)
Parameters
| Name | Type | Description |
|---|---|---|
| code | string | The code to compile. |
Return Value
| Type | Description |
|---|---|
| byte[] | Raw assembly bytes. |