C# Class Jint.Runtime.Interop.MethodInfoFunctionInstance

Inheritance: Jint.Native.Function.FunctionInstance
Show file Open project: ImagineLearning/Jint

Public Methods

Method Description
Call ( Jint.Native.JsValue thisObject, Jint.Native.JsValue arguments ) : Jint.Native.JsValue
Invoke ( MethodInfo methodInfos, Jint.Native.JsValue thisObject, Jint.Native.JsValue jsArguments ) : Jint.Native.JsValue
MethodInfoFunctionInstance ( Engine engine, MethodInfo methods ) : System

Private Methods

Method Description
ProcessParamsArrays ( Jint.Native.JsValue jsArguments, IEnumerable methodInfos ) : Jint.Native.JsValue[]

Reduces a flat list of parameters to a params array

Method Details

Call() public method

public Call ( Jint.Native.JsValue thisObject, Jint.Native.JsValue arguments ) : Jint.Native.JsValue
thisObject Jint.Native.JsValue
arguments Jint.Native.JsValue
return Jint.Native.JsValue

Invoke() public method

public Invoke ( MethodInfo methodInfos, Jint.Native.JsValue thisObject, Jint.Native.JsValue jsArguments ) : Jint.Native.JsValue
methodInfos System.Reflection.MethodInfo
thisObject Jint.Native.JsValue
jsArguments Jint.Native.JsValue
return Jint.Native.JsValue

MethodInfoFunctionInstance() public method

public MethodInfoFunctionInstance ( Engine engine, MethodInfo methods ) : System
engine Engine
methods System.Reflection.MethodInfo
return System