Executes code from embedded JavaScript resource.
- Namespace
- Statiq
.Common - Containing Type
- IJavaScriptEngine
Syntax
void ExecuteResource(string resourceName, Assembly assembly)
Parameters
| Name | Type | Description |
|---|---|---|
| resourceName | string | The case-sensitive resource name. |
| assembly | Assembly | The assembly, which contains the embedded resource. |