C# Класс V8.Net.V8NetProxy

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

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

Метод Описание
Call ( HandleProxy subject, string functionName, HandleProxy _this, Int32 argCount, HandleProxy args ) : HandleProxy*

Calls a property with a given name on a specified object as a function and returns the result. If the function name is null, then the subject is assumed to be a function object.

ConnectObject ( HandleProxy handleProxy, Int32 objID, void templateProxy ) : void
CreateArray ( NativeV8EngineProxy engine, HandleProxy items, Int32 length ) : HandleProxy*
CreateBoolean ( NativeV8EngineProxy engine, bool b ) : HandleProxy*
CreateDate ( NativeV8EngineProxy engine, double ms ) : HandleProxy*
CreateError ( NativeV8EngineProxy engine, string message, JSValueType errorType ) : HandleProxy*
CreateFunctionInstance ( NativeFunctionTemplateProxy functionTemplateProxy, Int32 objID, Int32 argCount, HandleProxy args ) : HandleProxy*
CreateFunctionTemplateProxy ( NativeV8EngineProxy engine, string className, ManagedJSFunctionCallback callback ) : NativeFunctionTemplateProxy*
CreateFunctionTemplateProxyTest ( ) : NativeFunctionTemplateProxy*
CreateHandleProxyTest ( ) : HandleProxy*
CreateInteger ( NativeV8EngineProxy engine, Int32 num ) : HandleProxy*
CreateNullValue ( NativeV8EngineProxy engine ) : HandleProxy*
CreateNumber ( NativeV8EngineProxy engine, double num ) : HandleProxy*
CreateObject ( NativeV8EngineProxy engine, Int32 managedObjectID ) : HandleProxy*
CreateObjectFromTemplate ( NativeObjectTemplateProxy objectTemplateProxy, Int32 objID ) : HandleProxy*
CreateObjectTemplateProxy ( NativeV8EngineProxy engine ) : NativeObjectTemplateProxy*
CreateObjectTemplateProxyTest ( ) : NativeObjectTemplateProxy*
CreateString ( NativeV8EngineProxy engine, string str ) : HandleProxy*
CreateStringArray ( NativeV8EngineProxy engine, char items, Int32 length ) : HandleProxy*
CreateV8EngineProxy ( bool enableDebugging, void debugMessageDispatcher, int debugPort ) : NativeV8EngineProxy*
CreateV8EngineProxyTest ( ) : NativeV8EngineProxy*
DeleteFunctionTemplateProxy ( NativeFunctionTemplateProxy functionTemplateProxy ) : void
DeleteObjectPropertyByIndex ( HandleProxy proxy, Int32 index ) : bool
DeleteObjectPropertyByName ( HandleProxy proxy, string name ) : bool
DeleteObjectTemplateProxy ( NativeObjectTemplateProxy objectTemplateProxy ) : void
DeleteTestData ( void data ) : void
DestroyV8EngineProxy ( NativeV8EngineProxy engine ) : void
DisposeHandleProxy ( HandleProxy handle ) : void
DoIdleNotification ( NativeV8EngineProxy engine, int hint = 1000 ) : bool
ForceGC ( NativeV8EngineProxy engine ) : void
GetArrayLength ( HandleProxy proxy ) : Int32
GetFunction ( NativeFunctionTemplateProxy functionTemplateProxy ) : HandleProxy*
GetFunctionInstanceTemplateProxy ( NativeFunctionTemplateProxy functionTemplateProxy ) : NativeObjectTemplateProxy*
GetFunctionPrototypeTemplateProxy ( NativeFunctionTemplateProxy functionTemplateProxy ) : void*
GetHandleManagedObjectID ( HandleProxy handle ) : int
GetObjectPropertyByIndex ( HandleProxy proxy, Int32 index ) : HandleProxy*
GetObjectPropertyByName ( HandleProxy proxy, string name ) : HandleProxy*
GetObjectPrototype ( HandleProxy handleProxy ) : HandleProxy*
GetOwnPropertyNames ( HandleProxy proxy ) : HandleProxy*
GetPropertyAttributes ( HandleProxy proxy, string name ) : V8PropertyAttributes
GetPropertyNames ( HandleProxy proxy ) : HandleProxy*
MakeStrongHandle ( HandleProxy handleProxy ) : void
MakeWeakHandle ( HandleProxy handleProxy ) : void
RegisterGCCallback ( NativeV8EngineProxy engine, V8GarbageCollectionRequestCallback garbageCollectionRequestCallback ) : void
RegisterIndexedPropertyHandlers ( NativeObjectTemplateProxy proxy, ManagedIndexedPropertyGetter getter, ManagedIndexedPropertySetter setter, ManagedIndexedPropertyQuery query, ManagedIndexedPropertyDeleter deleter, ManagedIndexedPropertyEnumerator enumerator ) : void
RegisterInvokeHandler ( NativeObjectTemplateProxy proxy, ManagedJSFunctionCallback callback ) : void
RegisterNamedPropertyHandlers ( NativeObjectTemplateProxy proxy, ManagedNamedPropertyGetter getter, ManagedNamedPropertySetter setter, ManagedNamedPropertyQuery query, ManagedNamedPropertyDeleter deleter, ManagedNamedPropertyEnumerator enumerator ) : void
SetFunctionTemplateProperty ( NativeFunctionTemplateProxy proxy, string name, HandleProxy value, V8PropertyAttributes attributes = V8PropertyAttributes.None ) : void
SetGlobalObjectTemplate ( NativeV8EngineProxy engine, NativeObjectTemplateProxy proxy ) : HandleProxy*
SetObjectAccessor ( HandleProxy proxy, Int32 managedObjectID, string name, ManagedAccessorGetter getter, ManagedAccessorSetter setter, V8AccessControl access, V8PropertyAttributes attributes ) : void
SetObjectPropertyByIndex ( HandleProxy proxy, Int32 index, HandleProxy value ) : bool
SetObjectPropertyByName ( HandleProxy proxy, string name, HandleProxy value, V8PropertyAttributes attributes ) : bool
SetObjectTemplateAccessor ( NativeObjectTemplateProxy proxy, Int32 managedObjectID, string name, ManagedAccessorGetter getter, ManagedAccessorSetter setter, V8AccessControl access, V8PropertyAttributes attributes ) : void
SetObjectTemplateProperty ( NativeObjectTemplateProxy proxy, string name, HandleProxy value, V8PropertyAttributes attributes = V8PropertyAttributes.None ) : void
UnregisterIndexedPropertyHandlers ( NativeObjectTemplateProxy proxy ) : void
UnregisterNamedPropertyHandlers ( NativeObjectTemplateProxy proxy ) : void
UpdateHandleValue ( HandleProxy handle ) : void
V8Compile ( NativeV8EngineProxy engine, string script, string sourceName = null ) : HandleProxy*
V8Execute ( NativeV8EngineProxy engine, string script, string sourceName = null ) : HandleProxy*
V8ExecuteCompiledScript ( NativeV8EngineProxy engine, HandleProxy script ) : HandleProxy*
WithV8ContextScope ( NativeV8EngineProxy engine, System.Action action ) : void
WithV8HandleScope ( NativeV8EngineProxy engine, System.Action action ) : void
WithV8IsolateScope ( NativeV8EngineProxy engine, System.Action action ) : void