public ConfigureConnectionViewModel(QueueConnectionContext queueConnectionContext, IQueueService queueService, IDialogService dialogService)
 {
     _queueConnectionContext = queueConnectionContext;
     _queueService           = queueService;
     _dialogService          = dialogService;
     ComputerName            = _queueConnectionContext.ComputerName;
 }
        public ComputerTreeNodeViewModel(IEventAggregator eventAggregator, QueueConnectionContext queueConnectionContext, QueueTypeTreeNodeViewModel queueTypeTreeNodeViewModel)
        {
            _eventAggregator        = eventAggregator;
            _queueConnectionContext = queueConnectionContext;
            IsSelected = true;
            IsExpanded = true;

            Children = new BindableCollection <QueueTypeTreeNodeViewModel>
            {
                queueTypeTreeNodeViewModel,
            };

            _eventAggregator.Subscribe(this);
        }
Beispiel #3
0
        public QueueTypeTreeNodeViewModel(IEventAggregator eventAggregator, IQueueService queueService,
                                          QueueConnectionContext queueConnectionContext, IDialogService dialogService)
        {
            _eventAggregator        = eventAggregator;
            _queueService           = queueService;
            _queueConnectionContext = queueConnectionContext;
            _dialogService          = dialogService;
            _queueType = "Private queues"; //TODO: Reuse class to support public queues

            IsExpanded = true;
            IsSelected = true;

            ReadAndInitializeChildQueues();

            _eventAggregator.Subscribe(this);
        }
 public ExportAllMessagesToQueueViewModel(IQueueService queueService, QueueConnectionContext queueConnectionContext, IDialogService dialogService)
 {
     this._queueService           = queueService;
     this._queueConnectionContext = queueConnectionContext;
     this._dialogService          = dialogService;
 }
 public CreateNewQueueViewModel(IQueueService queueService, QueueConnectionContext queueConnectionContext, IDialogService dialogService)
 {
     _queueService           = queueService;
     _queueConnectionContext = queueConnectionContext;
     _dialogService          = dialogService;
 }
Beispiel #6
0
 public DialogService(IWindowManager windowManager, QueueConnectionContext queueConnectionContext, IQueueService queueService)
 {
     _windowManager          = windowManager;
     _queueConnectionContext = queueConnectionContext;
     _queueService           = queueService;
 }