Table of Contents

Class ScriptMethod

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

Provides functionality to run particular script method.

public class ScriptMethod
Inheritance
ScriptMethod

Methods

DisposeGlobalObjects(Assembly)

Disposes global objects registered in the specified assembly.

GetPropertyValue(IScriptRun, Assembly, string, object, object[])

Returns the property value of a specified object.

InitGlobalObjects(IScriptRun, Assembly)

Initializes global objects belongs to the specified assembly.

InternalRunMethod(Assembly, string, object, object[], BindingFlags, bool)
InvokeEntryPointMethod(string, object[], bool, bool, bool)
InvokeEntryPointMethodDotNetFx(string, object[], bool)
InvokeMainMethod(Assembly, object[], bool, bool)
Run(IScriptRun, Assembly, object[])

Executes script starting from the main entry point.

RunAsync(IScriptRun, Assembly, object[], CancellationToken)

Executes script asynchronously starting from the main entry point.

RunMethod(IScriptRun, Assembly, string, object, object[])

Executes specified method.

RunMethodAsync(IScriptRun, Assembly, string, object, object[], CancellationToken)

Executes specified method asynchronously.

RunProcess(IScriptRun, string, object[], bool)

Executes script starting from the main entry point in standalone process.

SetPropertyValue(IScriptRun, Assembly, string, object, object)

Sets the property value for a specified object.

TypeGetMethod(Type, string, BindingFlags, bool)