public void OpenMenu() { if (IsMenuOpen) { Return(); return; } if (CurrentPage == null) { return; } var menuBuilder = new NamedActionBuilder(); CurrentPage.OnExtra(menuBuilder); Visit(MenuPage.Type, false); (_instances[MenuPage.Type] as IMenuDisplayer).LoadTasks(menuBuilder.Items); }
public virtual void OnExtra(NamedActionBuilder builder) { }