C# Класс Rhino.NativeJavaMethod

Наследование: BaseFunction
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
GetFunctionName ( ) : string
NativeJavaMethod ( MethodInfo method, string name ) : System
ToString ( ) : string

Приватные методы

Метод Описание
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

Описание методов

Call() публичный Метод

public Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
cx Context
scope Scriptable
thisObj Scriptable
args object
Результат object

GetFunctionName() публичный Метод

public GetFunctionName ( ) : string
Результат string

NativeJavaMethod() публичный Метод

public NativeJavaMethod ( MethodInfo method, string name ) : System
method System.Reflection.MethodInfo
name string
Результат System

ToString() публичный Метод

public ToString ( ) : string
Результат string