Summary
Executes code from embedded JavaScript resource.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .JavaScript - 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. |
Return Value
Type | Description |
---|---|
void |