Summary
Evaluates an expression.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .JavaScript - Containing Type
- IJavaScriptEngine
Syntax
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 |
