public ConnectionsService(PuttySessionsManager puttySessionsManager) { if (puttySessionsManager == null) { throw new ArgumentNullException(nameof(puttySessionsManager)); } _puttySessionsManager = puttySessionsManager; }
public ConnectionsService(PuttySessionsManager puttySessionsManager) { if (puttySessionsManager == null) { throw new ArgumentNullException(nameof(puttySessionsManager)); } _puttySessionsManager = puttySessionsManager; var path = SettingsFileInfo.SettingsPath; _localConnectionPropertiesDataProvider = new FileDataProvider(Path.Combine(path, "LocalConnectionProperties.xml")); _localConnectionPropertiesSerializer = new LocalConnectionPropertiesXmlSerializer(); }