/// <summary> /// Retrieve this frame's display text as a string sent to the specified /// visitor. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_frame_capi.h">cef/include/capi/cef_frame_capi.h</see>. /// </remarks> public void GetText(CfrStringVisitor visitor) { var call = new CfxFrameGetTextRemoteCall(); call.@this = RemotePtr.ptr; call.visitor = CfrObject.Unwrap(visitor).ptr; call.RequestExecution(RemotePtr.connection); }
/// <summary> /// Retrieve this frame's display text as a string sent to the specified /// visitor. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_frame_capi.h">cef/include/capi/cef_frame_capi.h</see>. /// </remarks> public void GetText(CfrStringVisitor visitor) { var connection = RemotePtr.connection; var call = new CfxFrameGetTextRemoteCall(); call.@this = RemotePtr.ptr; if (!CfrObject.CheckConnection(visitor, connection)) { throw new ArgumentException("Render process connection mismatch.", "visitor"); } call.visitor = CfrObject.Unwrap(visitor).ptr; call.RequestExecution(connection); }