mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-03-27 11:25:48 -04:00
Enable project-wide nullable on LibationUiBase and LibationAvalonia Explicitly parallelize unit tests
29 lines
889 B
C#
29 lines
889 B
C#
using LibationFileManager;
|
|
|
|
namespace LibationAvalonia.ViewModels.Settings
|
|
{
|
|
public class SettingsVM
|
|
{
|
|
public SettingsVM(Configuration config)
|
|
{
|
|
ImportantSettings = new ImportantSettingsVM(config);
|
|
ImportSettings = new ImportSettingsVM(config);
|
|
DownloadDecryptSettings = new DownloadDecryptSettingsVM(config);
|
|
AudioSettings = new AudioSettingsVM(config);
|
|
}
|
|
|
|
public ImportantSettingsVM ImportantSettings { get; private set; }
|
|
public ImportSettingsVM ImportSettings { get; private set; }
|
|
public DownloadDecryptSettingsVM DownloadDecryptSettings { get; private set; }
|
|
public AudioSettingsVM AudioSettings { get; private set; }
|
|
|
|
public void SaveSettings(Configuration config)
|
|
{
|
|
ImportantSettings.SaveSettings(config);
|
|
ImportSettings.SaveSettings(config);
|
|
DownloadDecryptSettings.SaveSettings(config);
|
|
AudioSettings.SaveSettings(config);
|
|
}
|
|
}
|
|
}
|