Exemple #1
0
        /// <summary>
        /// Create a new CfrCommandLine instance.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_command_line_capi.h">cef/include/capi/cef_command_line_capi.h</see>.
        /// </remarks>
        public static CfrCommandLine Create()
        {
            var call = new CfxCommandLineCreateRemoteCall();

            call.RequestExecution();
            return(CfrCommandLine.Wrap(new RemotePtr(call.__retval)));
        }
        /// <summary>
        /// Create a new CfrCommandLine instance.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_command_line_capi.h">cef/include/capi/cef_command_line_capi.h</see>.
        /// </remarks>
        public static CfrCommandLine Create()
        {
            var connection = CfxRemoteCallContext.CurrentContext.connection;
            var call       = new CfxCommandLineCreateRemoteCall();

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