ChromiumFX/Generated/CfxV8Value.cs
/// <summary>
/// Create a new CfxV8Value object of type function. 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>
Create a new CfxV8Value object of type function. 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.
Create a new CfxV8Value object of type function . 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 .
public static CfxV8Value CreateFunction(string name, CfxV8Handler handler) {
            var name_pinned = new PinnedString(name);
            var __retval = CfxApi.V8Value.cfx_v8value_create_function(name_pinned.Obj.PinnedPtr, name_pinned.Length, CfxV8Handler.Unwrap(handler));
            name_pinned.Obj.Free();
            return CfxV8Value.Wrap(__retval);
        }
public static CfxV8Value CreateFunction ( string name , CfxV8Handler handler ) { var name_pinned = new PinnedString ( name ) ; var __retval = CfxApi . V8Value . cfx_v8value_create_function ( name_pinned . Obj . PinnedPtr , name_pinned . Length , CfxV8Handler . Unwrap ( handler ) ) ; name_pinned . Obj . Free ( ) ; return CfxV8Value . Wrap ( __retval ) ; }
Create a new CfxV8Value object of type function.
Create a new CfxV8Value object of type function .
name
string
handler
CfxV8Handler
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