Ejemplo n.º 1
0
        /// <summary>
        /// Returns true (1) if the command line contains the given switch.
        /// </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 bool HasSwitch(string name)
        {
            var call = new CfxCommandLineHasSwitchRenderProcessCall();

            call.self = CfrObject.Unwrap(this);
            call.name = name;
            call.RequestExecution(this);
            return(call.__retval);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns true (1) if the command line contains the given switch.
        /// </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 bool HasSwitch(string name)
        {
            var call = new CfxCommandLineHasSwitchRenderProcessCall();

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