示例#1
0
        /// <summary>
        /// Add a switch to the end of the command line. If the switch has no value
        /// pass an NULL value string.
        /// </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 AppendSwitch(string name)
        {
            var call = new CfxCommandLineAppendSwitchRenderProcessCall();

            call.self = CfrObject.Unwrap(this);
            call.name = name;
            call.RequestExecution(this);
        }
示例#2
0
        /// <summary>
        /// Add a switch to the end of the command line. If the switch has no value
        /// pass an NULL value string.
        /// </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 AppendSwitch(string name)
        {
            var call = new CfxCommandLineAppendSwitchRenderProcessCall();

            call.@this = proxyId;
            call.name  = name;
            call.RequestExecution(this);
        }