IJavaScriptEngine.

CallFunction(string, Object[]) Method

Summary

Calls a JavaScript function.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.JavaScript
Containing Type
IJavaScriptEngine

Syntax

Object CallFunction(string functionName, params Object[] args)

Parameters

Name Type Description
functionName string Function name.
args Object[] Function arguments.

Return Value

Type Description
Object Result of the function execution.
GitHub