Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xamarin.android function first letter upper in c#,but in v8 will be lowercase #13

Open
tianlv777 opened this issue Feb 25, 2022 · 0 comments

Comments

@tianlv777
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant