- Namespace
- Statiq
.Core - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IScriptHelper"]
click Interface0 "/api/Statiq.Common/IScriptHelper"
Type["ScriptHelper"]
class Type type-node
Syntax
public class ScriptHelper : IScriptHelper
Constructors
| Name | Summary |
|---|---|
| ScriptHelper |
Fields
| Name | Field Type | Constant Value | Summary |
|---|---|---|---|
| AssemblyName | string | ScriptAssembly |
static
|
| FactoryClassName | string | ScriptFactory |
static
|
| ScriptClassName | string | Script |
static
|
Methods
| Name | Return Value | Summary |
|---|---|---|
| Compile |
byte[] |
Compiles a script into an in-memory script assembly for later evaluation.
|
| EvaluateAsync |
Task |
Compiles, caches, and evaluates a script.
|
| GetScriptNamespaces |
IEnumerable |
|
| GetScriptReferences |
IEnumerable |
|
| Log |
void |
static
|