Esempio n. 1
0
        /// <summary>
        /// Create a new CfxProcessMessage object with the specified name.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_process_message_capi.h">cef/include/capi/cef_process_message_capi.h</see>.
        /// </remarks>
        public static CfxProcessMessage Create(string name)
        {
            var name_pinned = new PinnedString(name);
            var __retval    = CfxApi.ProcessMessage.cfx_process_message_create(name_pinned.Obj.PinnedPtr, name_pinned.Length);

            name_pinned.Obj.Free();
            return(CfxProcessMessage.Wrap(__retval));
        }
Esempio n. 2
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_process_message_capi.h">cef/include/capi/cef_process_message_capi.h</see>.
 /// </remarks>
 public CfxProcessMessage Copy()
 {
     return(CfxProcessMessage.Wrap(CfxApi.ProcessMessage.cfx_process_message_copy(NativePtr)));
 }