Calling .Net function with System.Action delegate as argument from JS

Mar 29, 2014 at 8:06 PM

first thank you for this great project.
I'm using it as javascript engine for my HA project HomeGenie.
I'm trying to call a .Net method which has an argument of type System.Action but I get:

"No public methods with the specified arguments were found."

The function is defined as:
public void Setup(Action functionBlock)
and I'm trying to call it like this:
    // ...
other methods which belong to hg.Program class work fine.

Mar 29, 2014 at 9:47 PM
Are you using Jint 2.0 ?
If so please file a bug on Github. Otherwise, please use Jint 2.0 ;)
Mar 29, 2014 at 10:12 PM
yes, I'm using 2.0. Going to github =)