C# Class Rhino.NativeJavaMethod

Inheritance: BaseFunction
Mostrar archivo Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
GetFunctionName ( ) : string
NativeJavaMethod ( MethodInfo method, string name ) : System
ToString ( ) : string

Private Methods

Method Description
Decompile ( int indent, int flags ) : string
FindCachedFunction ( Context cx, object args ) : int
FindFunction ( Context cx, MemberBox methodsOrCtors, object args ) : int

Find the index of the correct function to call given the set of methods or constructors and the arguments.

Find the index of the correct function to call given the set of methods or constructors and the arguments. If no function can be found to call, return -1.

NativeJavaMethod ( MemberBox methods ) : System
NativeJavaMethod ( MemberBox methods, string name ) : System
PreferSignature ( object args, Type sig1, bool vararg1, Type sig2, bool vararg2 ) : int

Determine which of two signatures is the closer fit.

Determine which of two signatures is the closer fit. Returns one of PREFERENCE_EQUAL, PREFERENCE_FIRST_ARG, PREFERENCE_SECOND_ARG, or PREFERENCE_AMBIGUOUS.

PrintDebug ( string msg, MemberBox member, object args ) : void
ScriptSignature ( object values ) : string

Method Details

Call() public method

public Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
cx Context
scope Scriptable
thisObj Scriptable
args object
return object

GetFunctionName() public method

public GetFunctionName ( ) : string
return string

NativeJavaMethod() public method

public NativeJavaMethod ( MethodInfo method, string name ) : System
method System.Reflection.MethodInfo
name string
return System

ToString() public method

public ToString ( ) : string
return string