Table of Contents

Method RunMethod

Namespace
Alternet.Scripter
Assembly
Alternet.Scripter.v9.dll

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 IScriptRun

IScriptRun associated this script method.

assembly Assembly

Assembly contains method to execute.

method string

Name of method to execute.

obj object

Object, contains method to execute.

args object[]

Array of method's parameters.

Returns

object

An object containing return value of the executed method.