public unsafe int Visit(cef_navigation_entry_t *entry, int current, int index, int total) { fixed(cef_navigation_entry_visitor_t *self = &this) { return(((delegate * unmanaged[Stdcall] < cef_navigation_entry_visitor_t *, cef_navigation_entry_t *, int, int, int, int >)visit)(self, entry, current, index, total)); } }
private CefNavigationEntry(cef_navigation_entry_t *ptr) { if (ptr == null) { throw new ArgumentNullException("ptr"); } _self = ptr; }
internal static CefNavigationEntry FromNativeOrNull(cef_navigation_entry_t *ptr) { if (ptr == null) { return(null); } return(new CefNavigationEntry(ptr)); }
public void Dispose() { if (_self != null) { Release(); _self = null; } GC.SuppressFinalize(this); }
private int visit(cef_navigation_entry_visitor_t *self, cef_navigation_entry_t *entry, int current, int index, int total) { CheckSelf(self); var m_entry = CefNavigationEntry.FromNative(entry); var m_result = Visit(m_entry, current != 0, index, total); m_entry.Dispose(); return(m_result ? 1 : 0); }
public static int release(cef_navigation_entry_t *self) { release_delegate d; var p = self->_base._release; if (p == _p1) { d = _d1; } else { d = (release_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(release_delegate)); if (_p1 == IntPtr.Zero) { _d1 = d; _p1 = p; } } return(d(self)); }
public static int has_post_data(cef_navigation_entry_t *self) { has_post_data_delegate d; var p = self->_has_post_data; if (p == _p9) { d = _d9; } else { d = (has_post_data_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_post_data_delegate)); if (_p9 == IntPtr.Zero) { _d9 = d; _p9 = p; } } return(d(self)); }
public static cef_string_userfree *get_title(cef_navigation_entry_t *self) { get_title_delegate d; var p = self->_get_title; if (p == _p7) { d = _d7; } else { d = (get_title_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_title_delegate)); if (_p7 == IntPtr.Zero) { _d7 = d; _p7 = p; } } return(d(self)); }
public static cef_string_userfree *get_original_url(cef_navigation_entry_t *self) { get_original_url_delegate d; var p = self->_get_original_url; if (p == _p6) { d = _d6; } else { d = (get_original_url_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_original_url_delegate)); if (_p6 == IntPtr.Zero) { _d6 = d; _p6 = p; } } return(d(self)); }
public static int is_valid(cef_navigation_entry_t *self) { is_valid_delegate d; var p = self->_is_valid; if (p == _p3) { d = _d3; } else { d = (is_valid_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_valid_delegate)); if (_p3 == IntPtr.Zero) { _d3 = d; _p3 = p; } } return(d(self)); }
public static int has_one_ref(cef_navigation_entry_t *self) { has_one_ref_delegate d; var p = self->_base._has_one_ref; if (p == _p2) { d = _d2; } else { d = (has_one_ref_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_one_ref_delegate)); if (_p2 == IntPtr.Zero) { _d2 = d; _p2 = p; } } return(d(self)); }
public static int get_http_status_code(cef_navigation_entry_t *self) { get_http_status_code_delegate d; var p = self->_get_http_status_code; if (p == _pb) { d = _db; } else { d = (get_http_status_code_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_http_status_code_delegate)); if (_pb == IntPtr.Zero) { _db = d; _pb = p; } } return(d(self)); }
public static cef_time_t get_completion_time(cef_navigation_entry_t *self) { get_completion_time_delegate d; var p = self->_get_completion_time; if (p == _pa) { d = _da; } else { d = (get_completion_time_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_completion_time_delegate)); if (_pa == IntPtr.Zero) { _da = d; _pa = p; } } return(d(self)); }
public static CefTransitionType get_transition_type(cef_navigation_entry_t *self) { get_transition_type_delegate d; var p = self->_get_transition_type; if (p == _p8) { d = _d8; } else { d = (get_transition_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_transition_type_delegate)); if (_p8 == IntPtr.Zero) { _d8 = d; _p8 = p; } } return(d(self)); }
public static cef_sslstatus_t *get_sslstatus(cef_navigation_entry_t *self) { get_sslstatus_delegate d; var p = self->_get_sslstatus; if (p == _pd) { d = _dd; } else { d = (get_sslstatus_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_sslstatus_delegate)); if (_pd == IntPtr.Zero) { _dd = d; _pd = p; } } return(d(self)); }
public static void add_ref(cef_navigation_entry_t *self) { add_ref_delegate d; var p = self->_base._add_ref; if (p == _p0) { d = _d0; } else { d = (add_ref_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(add_ref_delegate)); if (_p0 == IntPtr.Zero) { _d0 = d; _p0 = p; } } d(self); }
public unsafe extern int Visit(cef_navigation_entry_t *entry, int current, int index, int total);
public CefNavigationEntry(cef_navigation_entry_t *instance) : base((cef_base_ref_counted_t *)instance) { }
private int visit(cef_navigation_entry_visitor_t *self, cef_navigation_entry_t *entry, int current, int index, int total) { CheckSelf(self); throw new NotImplementedException(); // TODO: CefNavigationEntryVisitor.Visit }
private CefNavigationEntry(cef_navigation_entry_t* ptr) { if (ptr == null) throw new ArgumentNullException("ptr"); _self = ptr; }
internal static CefNavigationEntry FromNative(cef_navigation_entry_t *ptr) { return(new CefNavigationEntry(ptr)); }