C# Class Espresso.NativeV8JsInterOp

显示文件 Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
CreateNativePart ( Espresso.JsContext context, INativeScriptable proxyObj ) : void
RegisterCallBacks ( ) : void
RegisterTypeDef ( Espresso.JsContext context, JsTypeDefinition jsTypeDefinition ) : void
UnRegisterNativePart ( INativeRef proxyObj ) : void

Private Methods

Method Description
ArgCount ( IntPtr callingArgsPtr ) : int
ArgGetObject ( IntPtr callingArgsPtr, int index ) : Espresso.JsValue
ArgGetThis ( IntPtr callingArgsPtr ) : Espresso.JsValue
ContextRegisterManagedCallback ( IntPtr contextPtr, IntPtr funcPointer, int callBackKind ) : void
ContextRegisterManagedCallback2 ( IntPtr contextSetupArgs, IntPtr funcPointer, int callBackKind ) : void
ContextRegisterTypeDefinition ( IntPtr nativeJsContextPtr, int mIndex, void stream, int length ) : IntPtr
CreateWrapperForManagedObject ( IntPtr unmanagedEnginePtr, int mIndex, IntPtr rtTypeDefinition ) : IntPtr
CtxRegisterManagedMethodCall ( Espresso.JsContext jsContext, ManagedMethodCallDel mMethodCall ) : void
EngineListener_Listen ( int mIndex, string methodName, IntPtr args ) : void
ExecNode ( string args ) : void
GetManagedIndex ( IntPtr unmanagedPtr ) : int
NativeV8JsInterOp ( ) : System
RegisterManagedCallback ( IntPtr funcPointer, int callBackKind ) : void
RegisterManagedListener ( ManagedListenerDel mListenerDel ) : void
RelaseWrapper ( IntPtr unmanagedPtr ) : int
ReleaseWrapper ( IntPtr externalManagedHandler ) : void
ResultSetBool ( IntPtr callingArgsPtr, bool value ) : void
ResultSetDouble ( IntPtr callingArgsPtr, double value ) : void
ResultSetFloat ( IntPtr callingArgsPtr, float value ) : void
ResultSetInt32 ( IntPtr callingArgsPtr, int value ) : void
ResultSetJsValue ( IntPtr callingArgsPtr, Espresso.JsValue jsvalue ) : void
ResultSetString ( IntPtr callingArgsPtr, [ value ) : void
TestCallBack ( ) : int
V8Init ( ) : void

Method Details

CreateNativePart() public static method

public static CreateNativePart ( Espresso.JsContext context, INativeScriptable proxyObj ) : void
context Espresso.JsContext
proxyObj INativeScriptable
return void

RegisterCallBacks() public static method

public static RegisterCallBacks ( ) : void
return void

RegisterTypeDef() public static method

public static RegisterTypeDef ( Espresso.JsContext context, JsTypeDefinition jsTypeDefinition ) : void
context Espresso.JsContext
jsTypeDefinition JsTypeDefinition
return void

UnRegisterNativePart() public static method

public static UnRegisterNativePart ( INativeRef proxyObj ) : void
proxyObj INativeRef
return void