alu
unread,Jun 5, 2012, 5:10:57 AM6/5/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I've implemented IActiveScriptSite interface and can execute scripts now. I
add an object into the script to be able to use their functionality in
the script but it doesn't fully work.
Let say this object has two method
void Test1(string aParam) { ... }
void Test2(string aParam1, string aParam2) { ... }
and I am passing this object as Context.
What I can do is to call
Context.Test1("1")
and it works
But if I try to execute the other method
Context.Text("1", "2")
it throws an exception.
It looks like I can use only methods with one parameter,
what is really strange.
Does anyone know how to deal with this?
I need to execute method with 2 and more parameters.