예제 #1
0
 internal bool IsNavigable(JournalEntry entry)
 {
     if (entry == null)
     {
         return(false);
     }
     // Fallback to entry.IsNavigable if the Filter hasn't been specified
     return((Filter != null) ? Filter(entry) : entry.IsNavigable());
 }
예제 #2
0
 // Token: 0x060028EA RID: 10474 RVA: 0x000BD9F6 File Offset: 0x000BBBF6
 internal bool IsNavigable(JournalEntry entry)
 {
     if (entry == null)
     {
         return(false);
     }
     if (this.Filter == null)
     {
         return(entry.IsNavigable());
     }
     return(this.Filter(entry));
 }
예제 #3
0
 /// <summary> 
 /// This is the filter callback for Journal. To keep a single code path and to avoid
 /// inconsistent results, use Journal.IsNavigable() instead of this method. 
 /// </summary>
 private bool IsEntryNavigable(JournalEntry entry)
 {
     if (entry == null || !entry.IsNavigable()) 
         return false;
     // If the entry is associated with a child frame, the frame has to be currently available. 
     // For a given journal entry group, only the "exit" entry is made visible. Effectively, 
     // this collapses all fragment-navigation and CustomContentState-navigation entries for
     // a page (other than the current one) to a single entry. That's what IE does. 
     NavigationService ns = _rootNavSvc.FindTarget(entry.NavigationServiceId);
     return ns != null
         && (ns.ContentId == entry.ContentId || entry.JEGroupState.GroupExitEntry == entry);
 } 
예제 #4
0
 internal bool IsNavigable(JournalEntry entry)
 { 
     if (entry == null)
         return false; 
     // Fallback to entry.IsNavigable if the Filter hasn't been specified 
     return (Filter != null) ? Filter(entry) : entry.IsNavigable();
 }