示例#1
0
        /// <summary>
        /// Initialize the command line with the specified |argc| and |argv| values.
        /// The first argument must be the name of the program. This function is only
        /// supported on non-Windows platforms.
        /// </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 void InitFromArgv(int argc, RemotePtr argv)
        {
            var call = new CfxCommandLineInitFromArgvRenderProcessCall();

            call.self = CfrObject.Unwrap(this);
            call.argc = argc;
            call.argv = argv.ptr;
            call.RequestExecution(this);
        }
示例#2
0
        /// <summary>
        /// Initialize the command line with the specified |argc| and |argv| values.
        /// The first argument must be the name of the program. This function is only
        /// supported on non-Windows platforms.
        /// </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 void InitFromArgv(int argc, RemotePtr argv)
        {
            var call = new CfxCommandLineInitFromArgvRenderProcessCall();

            call.@this = proxyId;
            call.argc  = argc;
            call.argv  = argv.ptr;
            call.RequestExecution(this);
        }