You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C#
var sanwei = new sanweidian();
j["system"] = j.Marshal(sanwei, SerializationMode.Reference);
var aaa = j.Evaluate("var ck=system.jiejue1(123456);","nnn");
public class sanweidian
{
public int x;
public int y;
public int z;
public sanweidian()
{
x = 0;
y = 0;
z = 0;
}
public int jiejue(int ccc)
{
x = ccc;
return 987;
}
public Books Jiejue1(int ccc)
{
Books BBB = new Books();
BBB.x = 131;
BBB.y = 132;
return BBB;
}
}
var aaa = j.Evaluate("var ck=system.jiejue1(123456);","nnn");
this ok.
var aaa = j.Evaluate("var ck=system.Jiejue1(123456);","nnn");
can't find function
e,C# this function name is Jiejue1,not jiejue1.
how to do?
The text was updated successfully, but these errors were encountered:
C#
var sanwei = new sanweidian();
j["system"] = j.Marshal(sanwei, SerializationMode.Reference);
var aaa = j.Evaluate("var ck=system.jiejue1(123456);","nnn");
public class sanweidian
{
public int x;
public int y;
public int z;
public sanweidian()
{
x = 0;
y = 0;
z = 0;
}
var aaa = j.Evaluate("var ck=system.jiejue1(123456);","nnn");
this ok.
var aaa = j.Evaluate("var ck=system.Jiejue1(123456);","nnn");
can't find function
e,C# this function name is Jiejue1,not jiejue1.
how to do?
The text was updated successfully, but these errors were encountered: