예제 #1
0
        /// <summary>
        /// Initialize the command line with the string returned by calling
        /// GetCommandLineW(). This function is only supported on Windows.
        /// </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 InitFromString(string commandLine)
        {
            var call = new CfxCommandLineInitFromStringRenderProcessCall();

            call.self        = CfrObject.Unwrap(this);
            call.commandLine = commandLine;
            call.RequestExecution(this);
        }
예제 #2
0
        /// <summary>
        /// Initialize the command line with the string returned by calling
        /// GetCommandLineW(). This function is only supported on Windows.
        /// </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 InitFromString(string commandLine)
        {
            var call = new CfxCommandLineInitFromStringRenderProcessCall();

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