/// <summary> /// Create a new CefV8Value object of type object with optional accessor and/or /// interceptor. This method should only be called from within the scope of a /// CefRenderProcessHandler, CefV8Handler or CefV8Accessor callback, or in /// combination with calling Enter() and Exit() on a stored CefV8Context /// reference. /// </summary> public static CefV8Value CreateObject(CefV8Accessor accessor = null, CefV8Interceptor interceptor = null) { return(CefV8Value.FromNative( cef_v8value_t.create_object( accessor != null ? accessor.ToNative() : null, interceptor != null ? interceptor.ToNative() : null ) )); }
/// <summary> /// Create a new CefV8Value object of type object with optional accessor. This /// method should only be called from within the scope of a /// CefV8ContextHandler, CefV8Handler or CefV8Accessor callback, or in /// combination with calling Enter() and Exit() on a stored CefV8Context /// reference. /// </summary> public static CefV8Value CreateObject(CefV8Accessor accessor) { return CefV8Value.FromNative( cef_v8value_t.create_object(accessor != null ? accessor.ToNative() : null) ); }