Exemple #1
0
        /// <summary>
        /// Returns the value associated with the given switch. If the switch has no
        /// value or isn't present this function returns the NULL 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 string GetSwitchValue(string name)
        {
            var call = new CfxCommandLineGetSwitchValueRenderProcessCall();

            call.self = CfrObject.Unwrap(this);
            call.name = name;
            call.RequestExecution(this);
            return(call.__retval);
        }
Exemple #2
0
        /// <summary>
        /// Returns the value associated with the given switch. If the switch has no
        /// value or isn't present this function returns the NULL 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 string GetSwitchValue(string name)
        {
            var call = new CfxCommandLineGetSwitchValueRenderProcessCall();

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