Example #1
0
        /// <summary>
        /// Returns the entered (bottom) context object in the V8 context stack.
        /// </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 CfrV8Context GetEnteredContext()
        {
            var call = new CfxV8ContextGetEnteredContextRenderProcessCall();

            call.RequestExecution(CfxRemoteCallContext.CurrentContext.connection);
            return(CfrV8Context.Wrap(call.__retval));
        }
Example #2
0
 /// <summary>
 /// Returns the entered (bottom) context object in the V8 context stack.
 /// </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 CfrV8Context GetEnteredContext()
 {
     var call = new CfxV8ContextGetEnteredContextRenderProcessCall();
     call.RequestExecution(CfxRemoteCallContext.CurrentContext.connection);
     return CfrV8Context.Wrap(call.__retval);
 }