public Task <IJavascriptObject> InvokeAsync(string iFunctionName, HTML.Core.V8JavascriptObject.IWebView iContext, params IJavascriptObject[] iparam)
 {
     return(Task.FromResult(Invoke(iFunctionName, iContext, iparam)));
 }
        public void Bind(string iFunctionName, HTML.Core.V8JavascriptObject.IWebView iContext, Action <string, IJavascriptObject, IJavascriptObject[]> action)
        {
            JSObject ob = _JSValue;

            ob.Bind(iFunctionName, false, (o, e) => { action(iFunctionName, null, e.Arguments.Select(el => el.Convert()).ToArray()); });
        }
        public IJavascriptObject Invoke(string iFunctionName, HTML.Core.V8JavascriptObject.IWebView iContext, params IJavascriptObject[] iparam)
        {
            var res = ((JSObject)_JSValue).Invoke(iFunctionName, iparam.Cast <IJavascriptObject>().Select(c => c.Convert()).ToArray());

            return(res.Convert());
        }