示例#1
0
        async Task RefreshAll()
        {
            await EndpointExplorer.RefreshData();

            await Messages.RefreshMessages();

            await SagaWindow.RefreshSaga();
        }
示例#2
0
        public async void RefreshAll()
        {
            await EndpointExplorer.RefreshData();

            await QueueExplorer.RefreshData();

            await Messages.RefreshMessages();

            await SagaWindow.RefreshSaga();
        }
        public void ConnectToServiceControl()
        {
            var connectionViewModel = serviceControlConnection();
            var result = windowManager.ShowDialog(connectionViewModel);

            if (result.GetValueOrDefault(false))
            {
                EndpointExplorer.ConnectToService(connectionViewModel.ServiceUrl);
                eventAggregator.PublishOnUIThread(new WorkFinished("Connected to ServiceControl Version {0}", connectionViewModel.Version));
            }
        }
示例#4
0
        public async void ConnectToServiceControl()
        {
            var connectionViewModel = _screenFactory.CreateScreen <ServiceControlConnectionViewModel>();
            var result = _windowManager.ShowDialog(connectionViewModel);

            if (result.GetValueOrDefault(false))
            {
                await EndpointExplorer.ConnectToService(connectionViewModel.ServiceUrl);

                _eventAggregator.Publish(new WorkFinished("Connected to ServiceControl Version {0}", connectionViewModel.Version));
            }
        }
示例#5
0
        private async Task RefreshExplorer()
        {
            if (SelectedExplorerItem.IsEndpointExplorerSelected())
            {
                await EndpointExplorer.PartialRefresh();
            }

            if (SelectedExplorerItem.IsQueueExplorerSelected())
            {
                await QueueExplorer.PartialRefresh();
            }
        }
示例#6
0
        public async Task ConnectToServiceControl()
        {
            var connectionViewModel = serviceControlConnection();
            var result = windowManager.ShowDialog(connectionViewModel);

            if (result.GetValueOrDefault(false))
            {
                using (workNotifier.NotifyOfWork("", $"Connected to ServiceControl Version {connectionViewModel.Version}"))
                {
                    await EndpointExplorer.ConnectToService(connectionViewModel.ServiceUrl);
                }
            }
        }
 void RefreshAll()
 {
     EndpointExplorer.RefreshData();
     Messages.RefreshMessages();
     SagaWindow.RefreshSaga();
 }
示例#8
0
 void WhenCheckingMessagesForEndpoint(string endpoint)
 {
     EndpointExplorer.SelectEndpoint(endpoint);
 }
示例#9
0
 void SelectingMessageThatIsPartOfAConversation()
 {
     ConnectToServiceControl.Execute();
     EndpointExplorer.SelectEndpoint("Sales");
     MessagesWindow.SelectRow(0);
 }