void IViewModel.OnChangeTab(string tabId) { var old = activeTab(); lastActivatedTab = tabId; changeNotification.Post(); if (old != activeTab()) { TabChanging?.Invoke(this, new TabChangingEventArgs(visibleTabs[activeTab()].Id)); } }
void IViewModel.OnTabChanging(string tabId) { customTabsTags.TryGetValue(tabId, out var tag); TabChanging?.Invoke(this, new TabChangingEventArgs(tabId, tag)); }