Ejemplo n.º 1
0
        /// <summary>
        /// Returns the singleton global CfrCommandLine object. The returned object
        /// will be read-only.
        /// </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 static CfrCommandLine GetGlobal()
        {
            var call = new CfxCommandLineGetGlobalRemoteCall();

            call.RequestExecution();
            return(CfrCommandLine.Wrap(new RemotePtr(call.__retval)));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns the singleton global CfrCommandLine object. The returned object
        /// will be read-only.
        /// </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 static CfrCommandLine GetGlobal()
        {
            var call = new CfxCommandLineGetGlobalRenderProcessCall();

            call.RequestExecution(CfxRemoteCallContext.CurrentContext.connection);
            return(CfrCommandLine.Wrap(call.__retval));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Returns a writable copy of this object.
        /// </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 CfrCommandLine Copy()
        {
            var call = new CfxCommandLineCopyRemoteCall();

            call.@this = RemotePtr.ptr;
            call.RequestExecution(RemotePtr.connection);
            return(CfrCommandLine.Wrap(new RemotePtr(call.__retval)));
        }
        /// <summary>
        /// Returns the singleton global CfrCommandLine object. The returned object
        /// will be read-only.
        /// </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 static CfrCommandLine GetGlobal()
        {
            var connection = CfxRemoteCallContext.CurrentContext.connection;
            var call       = new CfxCommandLineGetGlobalRemoteCall();

            call.RequestExecution(connection);
            return(CfrCommandLine.Wrap(new RemotePtr(connection, call.__retval)));
        }
Ejemplo n.º 5
0
        /// <summary>
        /// Returns a writable copy of this object.
        /// </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 CfrCommandLine Copy()
        {
            var call = new CfxCommandLineCopyRenderProcessCall();

            call.self = CfrObject.Unwrap(this);
            call.RequestExecution(this);
            return(CfrCommandLine.Wrap(call.__retval));
        }
Ejemplo n.º 6
0
        /// <summary>
        /// Returns a writable copy of this object.
        /// </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 CfrCommandLine Copy()
        {
            var call = new CfxCommandLineCopyRenderProcessCall();

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