From 72c61d21abb2bdbf95ebd0f4ee6e3d154a6cade0 Mon Sep 17 00:00:00 2001 From: dbuechel Date: Wed, 23 Jan 2019 11:40:33 +0100 Subject: [PATCH] SEBWIN-226: Removed TrySaveSettings from configuration API. --- SafeExamBrowser.Configuration/ConfigurationRepository.cs | 5 ----- .../Configuration/IConfigurationRepository.cs | 5 ----- 2 files changed, 10 deletions(-) diff --git a/SafeExamBrowser.Configuration/ConfigurationRepository.cs b/SafeExamBrowser.Configuration/ConfigurationRepository.cs index 3e56ac87..550c4f38 100644 --- a/SafeExamBrowser.Configuration/ConfigurationRepository.cs +++ b/SafeExamBrowser.Configuration/ConfigurationRepository.cs @@ -156,11 +156,6 @@ namespace SafeExamBrowser.Configuration } } - public SaveStatus TrySaveSettings(Uri destination, FormatType format, Settings settings, EncryptionParameters encryption = null) - { - throw new NotImplementedException("This functionality is not part of version 3.0 Alpha!"); - } - private EncryptionParameters DetermineEncryptionForClientConfiguration(IDictionary data, EncryptionParameters encryption) { var hasKey = data.TryGetValue(Keys.ConfigurationFile.KeepClientConfigEncryption, out var value); diff --git a/SafeExamBrowser.Contracts/Configuration/IConfigurationRepository.cs b/SafeExamBrowser.Contracts/Configuration/IConfigurationRepository.cs index 5eb85104..b037df49 100644 --- a/SafeExamBrowser.Contracts/Configuration/IConfigurationRepository.cs +++ b/SafeExamBrowser.Contracts/Configuration/IConfigurationRepository.cs @@ -62,10 +62,5 @@ namespace SafeExamBrowser.Contracts.Configuration /// Attempts to load settings from the specified resource. /// LoadStatus TryLoadSettings(Uri resource, out Settings.Settings settings, PasswordParameters password = null); - - /// - /// Attempts to save settings according to the specified parameters. - /// - SaveStatus TrySaveSettings(Uri destination, FormatType format, Settings.Settings settings, EncryptionParameters encryption = null); } }