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); }
/// <summary> /// Method that will be executed. Do not keep a reference to |entry| outside of /// this callback. Return true to continue visiting entries or false to stop. /// |current| is true if this entry is the currently loaded navigation entry. /// |index| is the 0-based index of this entry and |total| is the total number /// of entries. /// </summary> protected abstract bool Visit(CefNavigationEntry entry, bool current, int index, int total);