C# 클래스 Rhino.InterfaceAdapter

Adapter to use JS function as implementation of Java interfaces with single method or multiple methods with the same signature.
Adapter to use JS function as implementation of Java interfaces with single method or multiple methods with the same signature.
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
Invoke ( ContextFactory cf, object target, Scriptable topScope, object thisObject, MethodInfo method, object args ) : object

비공개 메소드들

메소드 설명
Create ( Context cx, Type cl, ScriptableObject @object ) : object

Make glue object implementing interface cl that will call the supplied JS function when called.

Make glue object implementing interface cl that will call the supplied JS function when called. Only interfaces were all methods have the same signature is supported.

InterfaceAdapter ( ContextFactory cf, Type cl ) : System
InvokeImpl ( Context cx, object target, Scriptable topScope, object thisObject, MethodInfo method, object args ) : object

메소드 상세

Invoke() 공개 메소드

public Invoke ( ContextFactory cf, object target, Scriptable topScope, object thisObject, MethodInfo method, object args ) : object
cf ContextFactory
target object
topScope Scriptable
thisObject object
method System.Reflection.MethodInfo
args object
리턴 object