C# Class WebKit.JSManagement

Show file Open project: Erls-Corporation/open-webkit-sharp Class Usage Examples

Private Properties

Property Type Description
CreateWindowScriptObject void

Public Methods

Method Description
CallFunction ( string Name, object arguments ) : JSValue

Calls a function with the specified arguments in the script environment.

EvaluateScript ( string Name ) : JSCore.JSValue

Executes a Script in the Global Context and returns its value.

JSManagement ( WebKitBrowser browser ) : System
uiDelegate_AddMessageToConsole ( WebView sender, string mes, string u, int line, int error ) : void

Private Methods

Method Description
CreateWindowScriptObject ( JSCore context ) : void

Method Details

CallFunction() public method

Calls a function with the specified arguments in the script environment.
public CallFunction ( string Name, object arguments ) : JSValue
Name string
arguments object
return JSValue

EvaluateScript() public method

Executes a Script in the Global Context and returns its value.
public EvaluateScript ( string Name ) : JSCore.JSValue
Name string
return JSCore.JSValue

JSManagement() public method

public JSManagement ( WebKitBrowser browser ) : System
browser WebKitBrowser
return System

uiDelegate_AddMessageToConsole() public method

public uiDelegate_AddMessageToConsole ( WebView sender, string mes, string u, int line, int error ) : void
sender WebView
mes string
u string
line int
error int
return void