Method RunMethod
RunMethod(IScriptRun, Assembly, string, object, object[])
Executes specified method.
public static object RunMethod(IScriptRun scriptRun, Assembly assembly, string method, object obj, object[] args)
Parameters
scriptRun
IScriptRunIScriptRun
associated this script method.assembly
AssemblyAssembly contains method to execute.
method
stringName of method to execute.
obj
objectObject, contains method to execute.
args
object[]Array of method's parameters.
Returns
- object
An object containing return value of the executed method.