Summary
Executes code from embedded JavaScript resource.
- Assembly
- Wyam
.Testing .JavaScript .dll - Namespace
- Wyam
.Testing .JavaScript - Containing Type
- TestJsEngine
Syntax
public void ExecuteResource(string resourceName, Type type)
Parameters
Name | Type | Description |
---|---|---|
resourceName | string | The case-sensitive resource name without the namespace of the specified type. |
type | Type | The type, that determines the assembly and whose namespace is used to scope the resource name. |
Return Value
Type | Description |
---|---|
void |