コード例 #1
0
        /// <summary>
        /// Create a new CfrPostDataElement object.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_request_capi.h">cef/include/capi/cef_request_capi.h</see>.
        /// </remarks>
        public static CfrPostDataElement Create()
        {
            var call = new CfxPostDataElementCreateRemoteCall();

            call.RequestExecution();
            return(CfrPostDataElement.Wrap(new RemotePtr(call.__retval)));
        }
コード例 #2
0
        /// <summary>
        /// Create a new CfrPostDataElement object.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_request_capi.h">cef/include/capi/cef_request_capi.h</see>.
        /// </remarks>
        public static CfrPostDataElement Create()
        {
            var connection = CfxRemoteCallContext.CurrentContext.connection;
            var call       = new CfxPostDataElementCreateRemoteCall();

            call.RequestExecution(connection);
            return(CfrPostDataElement.Wrap(new RemotePtr(connection, call.__retval)));
        }