private void UpdateContextMenu() { m_contextMenu.Clear(); m_filePacksRepository.GetTop(10).Run(AppendMenuEntryForFilePack); if (m_recentFilePack != null) { m_contextMenu.Add(m_menuItemProvider.Provide("-")); AppendMenuEntryForFilePack(m_recentFilePack); } m_defaultContextItems.Run(m_contextMenu.Add); }