Using C# overload in JavaScript

Jan 23, 2013 at 10:12 AM

Hi, I am new using Jint :)

For some reasons, we need to use overload function from C# in JavaScript.
I have an object (from an api) named ORSOleObject where I can in C# do a GetValeur like that:

ORSOleObject toto = MyObject;

string result = toto.GetValeur("string");

I do a SetParameter and give toto to the JavaScript with Jint but when I try to do a GetValeur in JavaScript I got an error, the SetParameter is working, I can use the toto but not the overload function.

Can you help me, I found the SetFunction but I am not sure How to use it.