private async Task OnSectionSelected(SectionSelected message) { try { await DoOnUiDispatcherAsync(() => { Pages.Clear(); message.Section.Pages.ForEach(page => Pages.Add(page)); }); } catch (Exception ex) { Log.Msg(this, l => l.Error(ex)); } }
private void OnSectionSelected(SectionSelected message) { _selectedSection = message.Section; }
private void OnSectionSelected(SectionSelected obj) { IsAnyPageSelected = false; }