Summary
Creates a pre-compiled script from embedded JavaScript resource.
- Assembly
- Wyam
.Testing .JavaScript .dll - Namespace
- Wyam
.Testing .JavaScript - Containing Type
- TestJsEngine
Syntax
public IPrecompiledJavaScript PrecompileResource(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 |
---|---|
I |
A pre-compiled script that can be executed by different instances of JavaScript engine |