Table of Contents

Method RunFunction

Namespace
Alternet.Scripter.TypeScript
Assembly
Alternet.Scripter.TypeScript.v9.dll

RunFunction(string, object[])

Executes specified function.

public virtual object RunFunction(string function, object[] args = null)

Parameters

function string

Name of function to execute.

args object[]

Array of function's parameters.

Returns

object

An object containing return value of the executed function.