void DesktopCategorySearchMenuOption::Select() { if (m_menuReaction.GetShouldCloseMenu()) { m_menuViewModel.Close(); } m_messageBus.Publish(CategorySearchSelectedMessage(m_model.SearchCategory(), m_model.Interior())); }
void CategorySearchMenuOption::Select() { m_menuViewModel.Close(); m_messageBus.Publish(CategorySearchSelectedMessage(m_model.SearchCategory())); }