Summary
Evaluates an expression.
- Assembly
- Wyam
.Testing .JavaScript .dll - Namespace
- Wyam
.Testing .JavaScript - Containing Type
- TestJsEngine
Syntax
public T Evaluate<T>(string expression, string documentName)
Type Parameters
Name | Description |
---|---|
T | Type of result |
Parameters
Name | Type | Description |
---|---|---|
expression | string | JavaScript expression |
documentName | string | Document name |
Return Value
Type | Description |
---|---|
T | Result of the expression |