Esempio n. 1
0
        public SettingsViewModel(IRemoteCommandsService remoteCommandsService, IConnectionsService connectionsService,
                                 ISettingsService settingsService, IShellDialogsService shellDialogsService)
        {
            this.settingsService       = settingsService;
            this.shellDialogsService   = shellDialogsService;
            this.remoteCommandsService = remoteCommandsService;
            this.connectionsService    = connectionsService;

            LoadSettings();
        }
Esempio n. 2
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);
        }