Esempio n. 1
0
        /// <summary>
        /// Creates a new object that is not owned by any other object.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_values_capi.h">cef/include/capi/cef_values_capi.h</see>.
        /// </remarks>
        public static CfrListValue Create()
        {
            var call = new CfxListValueCreateRemoteCall();

            call.RequestExecution();
            return(CfrListValue.Wrap(new RemotePtr(call.__retval)));
        }
Esempio n. 2
0
        /// <summary>
        /// Creates a new object that is not owned by any other object.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_values_capi.h">cef/include/capi/cef_values_capi.h</see>.
        /// </remarks>
        public static CfrListValue Create()
        {
            var connection = CfxRemoteCallContext.CurrentContext.connection;
            var call       = new CfxListValueCreateRemoteCall();

            call.RequestExecution(connection);
            return(CfrListValue.Wrap(new RemotePtr(connection, call.__retval)));
        }