C# Class Rhino.NativeJavaMethod

Inheritance: BaseFunction
Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
cx Context
scope Scriptable
thisObj Scriptable
args object
Résultat object

GetFunctionName() public méthode

public GetFunctionName ( ) : string
Résultat string

NativeJavaMethod() public méthode

public NativeJavaMethod ( MethodInfo method, string name ) : System
method System.Reflection.MethodInfo
name string
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string