seb-win-refactoring/SafeExamBrowser.Settings/AppSettings.cs

128 lines
3.4 KiB
C#
Raw Permalink Normal View History

2017-07-05 11:41:19 +02:00
/*
* Copyright (c) 2024 ETH Zürich, IT Services
2017-07-05 11:41:19 +02:00
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
2018-02-15 15:42:54 +01:00
using System;
using SafeExamBrowser.Settings.Applications;
using SafeExamBrowser.Settings.Browser;
using SafeExamBrowser.Settings.Logging;
using SafeExamBrowser.Settings.Monitoring;
using SafeExamBrowser.Settings.Proctoring;
using SafeExamBrowser.Settings.Security;
using SafeExamBrowser.Settings.Server;
using SafeExamBrowser.Settings.Service;
using SafeExamBrowser.Settings.System;
using SafeExamBrowser.Settings.SystemComponents;
using SafeExamBrowser.Settings.UserInterface;
namespace SafeExamBrowser.Settings
2017-07-05 11:41:19 +02:00
{
/// <summary>
/// Defines all settings for the application.
/// </summary>
2018-02-15 15:42:54 +01:00
[Serializable]
public class AppSettings
2017-07-05 11:41:19 +02:00
{
/// <summary>
/// All settings related to external applications.
/// </summary>
public ApplicationSettings Applications { get; set; }
/// <summary>
/// All audio-related settings.
/// </summary>
public AudioSettings Audio { get; set; }
/// <summary>
2017-07-28 14:52:15 +02:00
/// All browser-related settings.
/// </summary>
2018-02-15 15:42:54 +01:00
public BrowserSettings Browser { get; set; }
/// <summary>
/// The mode which determines the configuration behaviour.
/// </summary>
public ConfigurationMode ConfigurationMode { get; set; }
/// <summary>
/// All display-related settings.
/// </summary>
public DisplaySettings Display { get; set; }
2017-08-04 12:19:56 +02:00
/// <summary>
/// All keyboard-related settings.
/// </summary>
2018-02-15 15:42:54 +01:00
public KeyboardSettings Keyboard { get; set; }
2017-08-04 12:19:56 +02:00
/// <summary>
/// The global log severity to be used.
/// </summary>
public LogLevel LogLevel { get; set; }
/// <summary>
/// All mouse-related settings.
/// </summary>
2018-02-15 15:42:54 +01:00
public MouseSettings Mouse { get; set; }
/// <summary>
/// All settings related to the power supply.
/// </summary>
public PowerSupplySettings PowerSupply { get; set; }
/// <summary>
/// All proctoring-related settings.
/// </summary>
public ProctoringSettings Proctoring { get; set; }
2019-01-10 10:04:30 +01:00
/// <summary>
/// All security-related settings.
2019-01-10 10:04:30 +01:00
/// </summary>
public SecuritySettings Security { get; set; }
2019-01-10 10:04:30 +01:00
/// <summary>
/// All server-related settings.
/// </summary>
public ServerSettings Server { get; set; }
/// <summary>
/// All service-related settings.
/// </summary>
public ServiceSettings Service { get; set; }
/// <summary>
/// The mode which determines the session behaviour.
/// </summary>
public SessionMode SessionMode { get; set; }
/// <summary>
/// All system-related settings.
/// </summary>
public SystemSettings System { get; set; }
/// <summary>
/// All settings related to the user interface.
/// </summary>
public UserInterfaceSettings UserInterface { get; set; }
public AppSettings()
2018-02-15 15:42:54 +01:00
{
Applications = new ApplicationSettings();
Audio = new AudioSettings();
2018-02-15 15:42:54 +01:00
Browser = new BrowserSettings();
Display = new DisplaySettings();
2018-02-15 15:42:54 +01:00
Keyboard = new KeyboardSettings();
Mouse = new MouseSettings();
PowerSupply = new PowerSupplySettings();
Proctoring = new ProctoringSettings();
Security = new SecuritySettings();
Server = new ServerSettings();
Service = new ServiceSettings();
System = new SystemSettings();
UserInterface = new UserInterfaceSettings();
2018-02-15 15:42:54 +01:00
}
2017-07-05 11:41:19 +02:00
}
}