CSharpScriptExecution.InvokeMethod
Helper method to invoke a method on an object using Reflection
public object InvokeMethod(object instance, string method, object[] parameters)
Parameters
instance
An object instance. null uses ObjectInstance property if set.
Pass `null` to use a previously set ObjectInstance.
method
The method name as a string
parameters
a variable list of parameters to pass