public SettingsViewModel(IRemoteCommandsService remoteCommandsService, IConnectionsService connectionsService, ISettingsService settingsService, IShellDialogsService shellDialogsService) { this.settingsService = settingsService; this.shellDialogsService = shellDialogsService; this.remoteCommandsService = remoteCommandsService; this.connectionsService = connectionsService; LoadSettings(); }
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); }