Exemple #1
0
 /// <summary>
 /// Create a new CfxV8Value object of type object with interceptor.
 /// This function should only be called from within the scope
 /// of a CfxRenderProcessHandler, CfxV8Handler or CfxV8Accessor
 /// callback, or in combination with calling enter() and exit() on a stored
 /// CfxV8Context reference.
 /// </summary>
 public static CfxV8Value CreateObject(CfxV8Interceptor interceptor)
 {
     return(CreateObject(null, interceptor));
 }
Exemple #2
0
 /// <summary>
 /// Create a new CfxV8Value object of type object with optional accessor
 /// and/or interceptor. This function should only be called from within the scope
 /// of a CfxRenderProcessHandler, CfxV8Handler or CfxV8Accessor
 /// callback, or in combination with calling enter() and exit() on a stored
 /// CfxV8Context 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>
 public static CfxV8Value CreateObject(CfxV8Accessor accessor, CfxV8Interceptor interceptor)
 {
     return(CfxV8Value.Wrap(CfxApi.V8Value.cfx_v8value_create_object(CfxV8Accessor.Unwrap(accessor), CfxV8Interceptor.Unwrap(interceptor))));
 }