Пример #1
0
 private bool IncludeInNavigation(NavigationItem item, bool forceShowInMenu = false)
 {
     return(item != null && item.IsDerived(Templates.Navigable.Id) && (forceShowInMenu || item.ShowInNavigation));
 }