OK, it looks like you're trying to pass
If that's correct, there are many ways to do that. Several were already demonstrated (see the
Another possibility, if all the arguments are strings, is to insert the arguments into the script code itself:
Good luck!
input and person.name to a script function or expression.If that's correct, there are many ways to do that. Several were already demonstrated (see the
myFunction samples above).Another possibility, if all the arguments are strings, is to insert the arguments into the script code itself:
engine.Evaluate(string.Format("myFunction('{0}', '{1}')", input, person.name));