NetDimension.NanUI/ChromiumFX/Generated/Remote/CfrV8Value.cs
/// <summary>
/// Create a new CfrV8Value object of type object with optional accessor
/// and/or interceptor. This function should only be called from within the scope
/// of a CfrRenderProcessHandler, CfrV8Handler or CfrV8Accessor
/// callback, or in combination with calling enter() and exit() on a stored
/// CfrV8Context reference.
/// </summary>
/// <remarks>
/// See also the original CEF documentation in
/// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_v8_capi.h">cef/include/capi/cef_v8_capi.h</see>.
/// </remarks>
Create a new CfrV8Value object of type object with optional accessor
and/or interceptor. This function should only be called from within the scope
of a CfrRenderProcessHandler, CfrV8Handler or CfrV8Accessor
callback, or in combination with calling enter() and exit() on a stored
CfrV8Context reference.
Create a new CfrV8Value object of type object with optional accessor and / or interceptor . This function should only be called from within the scope of a CfrRenderProcessHandler CfrV8Handler or CfrV8Accessor callback or in combination with calling enter () and exit () on a stored CfrV8Context reference .
public static CfrV8Value CreateObject(CfrV8Accessor accessor, CfrV8Interceptor interceptor) {
            var connection = CfxRemoteCallContext.CurrentContext.connection;
            var call = new CfxV8ValueCreateObjectRemoteCall();
            if(!CfrObject.CheckConnection(accessor, connection)) throw new ArgumentException("Render process connection mismatch.", "accessor");
            call.accessor = CfrObject.Unwrap(accessor).ptr;
            if(!CfrObject.CheckConnection(interceptor, connection)) throw new ArgumentException("Render process connection mismatch.", "interceptor");
            call.interceptor = CfrObject.Unwrap(interceptor).ptr;
            call.RequestExecution(connection);
            return CfrV8Value.Wrap(new RemotePtr(connection, call.__retval));
        }
public static CfrV8Value CreateObject ( CfrV8Accessor accessor , CfrV8Interceptor interceptor ) { var connection = CfxRemoteCallContext . CurrentContext . connection ; var call = new CfxV8ValueCreateObjectRemoteCall ( ) ; if ( ! CfrObject . CheckConnection ( accessor , connection ) ) throw new ArgumentException ( " " , " " ) ; call . accessor = CfrObject . Unwrap ( accessor ) . ptr ; if ( ! CfrObject . CheckConnection ( interceptor , connection ) ) throw new ArgumentException ( " " , " " ) ; call . interceptor = CfrObject . Unwrap ( interceptor ) . ptr ; call . RequestExecution ( connection ) ; return CfrV8Value . Wrap ( new RemotePtr ( connection , call . __retval ) ) ; }
Create a new CfrV8Value object of type object with optional accessor
and/or interceptor.
Create a new CfrV8Value object of type object with optional accessor and / or interceptor .
accessor
CfrV8Accessor
interceptor
CfrV8Interceptor
remarks
See also the original CEF documentation in
cef/include/capi/cef_v8_capi.h
See also the original CEF documentation in cef / include / capi / cef_v8_capi . h