public void TestHandleDataImportedEventShouldRaiseLayoutColumnsChangedEvent()
        {
            var args = new SourceImportedEvent();

            _service.Handle(args);
            _mockEventBus.Verify(p => p.Raise(It.IsAny <LayoutResetEvent>()));
        }
Example #2
0
        public void TestHandleDataImportedEventShouldUpdatePlots()
        {
            var @event = new SourceImportedEvent();

            _service.Handle(@event);
            _mockTask.Verify(p => p.Execute(It.IsAny <UpdatePlotsCommand>()),
                             Times.Once());
        }
        public void Handle(SourceImportedEvent args)
        {
            _isImporting = false;

            _progress = 0;

            OnPropertyChanged(() => IsProgressBarVisible);

            OnPropertyChanged(() => Progress);

            if (DialogClosed != null)
            {
                DialogClosed(this, EventArgs.Empty);
            }
        }
 // TODO: Move this into an application-level event handler
 public void Handle(SourceImportedEvent args)
 {
     SetIsNavigationTreeVisible(true);
 }
Example #5
0
 public void Handle(SourceImportedEvent args)
 {
     RefreshViewModels();
 }
 public void Handle(SourceImportedEvent args)
 {
     OnPropertyChanged(() => Properties);
 }
 public void Handle(SourceImportedEvent args)
 {
     OnPropertyChanged(() => Title);
     OnPropertyChanged(() => Items);
 }
Example #8
0
 public void Handle(SourceImportedEvent args)
 {
     OnPropertyChanged(() => FilterViewModels);
 }
Example #9
0
 public void Handle(SourceImportedEvent args)
 {
     _commandBus.Execute(new UpdatePlotsCommand());
 }
 public void Handle(SourceImportedEvent args)
 {
     _eventBus.Raise(new LayoutResetEvent());
 }