public async Task CreateQueue() { var screen = _screenFactory.CreateScreen <IQueueCreationViewModel>(); var result = _windowManager.ShowDialog(screen); if (result.GetValueOrDefault(false)) { await QueueExplorer.RefreshData(); } }
public async void RefreshAll() { await EndpointExplorer.RefreshData(); await QueueExplorer.RefreshData(); await Messages.RefreshMessages(); await SagaWindow.RefreshSaga(); }
public void ConnectToMessageQueue() { var machineViewModel = _screenFactory.CreateScreen <IConnectToMachineViewModel>(); var result = _windowManager.ShowDialog(machineViewModel); if (result.GetValueOrDefault(false)) { QueueExplorer.ConnectToQueue(machineViewModel.ComputerName); } }
private async Task RefreshExplorer() { if (SelectedExplorerItem.IsEndpointExplorerSelected()) { await EndpointExplorer.PartialRefresh(); } if (SelectedExplorerItem.IsQueueExplorerSelected()) { await QueueExplorer.PartialRefresh(); } }
public void DeleteCurrentQueue() { QueueExplorer.DeleteSelectedQueue(); }