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 CfxV8Context GetEnteredContext()
 {
     return(CfxV8Context.Wrap(CfxApi.cfx_v8context_get_entered_context()));
 }
Example #2
0
 /// <summary>
 /// Returns the current (top) 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 CfxV8Context GetCurrentContext()
 {
     return(CfxV8Context.Wrap(CfxApi.cfx_v8context_get_current_context()));
 }