2018-10-12 11:16:59 +02:00
|
|
|
|
/*
|
2019-01-09 11:25:21 +01:00
|
|
|
|
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
|
2018-10-12 11:16:59 +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/.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace SafeExamBrowser.Contracts.Configuration
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2019-06-11 09:53:33 +02:00
|
|
|
|
/// The configuration for a session of the service application component.
|
2018-10-12 11:16:59 +02:00
|
|
|
|
/// </summary>
|
2019-06-11 09:53:33 +02:00
|
|
|
|
[Serializable]
|
|
|
|
|
public class ServiceConfiguration
|
2018-10-12 11:16:59 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2019-06-11 09:53:33 +02:00
|
|
|
|
/// The global application configuration.
|
2018-10-12 11:16:59 +02:00
|
|
|
|
/// </summary>
|
2019-06-11 09:53:33 +02:00
|
|
|
|
public AppConfig AppConfig { get; set; }
|
2018-10-12 11:16:59 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2019-06-11 09:53:33 +02:00
|
|
|
|
/// The unique identifier for the current session.
|
2018-10-12 11:16:59 +02:00
|
|
|
|
/// </summary>
|
2019-06-11 09:53:33 +02:00
|
|
|
|
public Guid SessionId { get; set; }
|
2018-10-12 11:16:59 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2019-06-11 09:53:33 +02:00
|
|
|
|
/// The application settings to be used by the service.
|
2018-10-12 11:16:59 +02:00
|
|
|
|
/// </summary>
|
2019-06-11 09:53:33 +02:00
|
|
|
|
public Settings.Settings Settings { get; set; }
|
2018-10-12 11:16:59 +02:00
|
|
|
|
}
|
|
|
|
|
}
|