public ControlPanelViewModel(ISystemService systemService, IMessagesAggregator messagesAggregator,
                              IShellDialogsService shellDialogsService, IDialogsService dialogsService)
 {
     this.systemService       = systemService;
     this.shellDialogsService = shellDialogsService;
     this.dialogsService      = dialogsService;
     this.messagesAggregator  = messagesAggregator;
 }
示例#2
0
        public SettingsViewModel(IRemoteCommandsService remoteCommandsService, IConnectionsService connectionsService,
                                 ISettingsService settingsService, IShellDialogsService shellDialogsService)
        {
            this.settingsService       = settingsService;
            this.shellDialogsService   = shellDialogsService;
            this.remoteCommandsService = remoteCommandsService;
            this.connectionsService    = connectionsService;

            LoadSettings();
        }
示例#3
0
        public ShellViewModel(IMessagesAggregator messagesAggregator, IRemoteCommandsService remoteCommandsService,
                              IConnectionsService connectionsService, IShellDialogsService shellDialogsService,
                              ISettingsService settingsService)
        {
            this.shellDialogsService   = shellDialogsService;
            this.remoteCommandsService = remoteCommandsService;
            this.settingsService       = settingsService;
            this.connectionsService    = connectionsService;

            InitializeConnections(connectionsService);
            InitializeCommands(remoteCommandsService);
            InitializeMessages(messagesAggregator);
        }