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
scriptRunIScriptRunIScriptRunassociated this script method.assemblyAssemblyAssembly contains method to execute.
methodstringName of method to execute.
objobjectObject, contains method to execute.
argsobject[]Array of method's parameters.
Returns
- object
An object containing return value of the executed method.