/*
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
*
* 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;
using SafeExamBrowser.Browser.Contracts;
using SafeExamBrowser.Communication.Contracts.Hosts;
using SafeExamBrowser.Configuration.Contracts;
using SafeExamBrowser.Settings;
namespace SafeExamBrowser.Client
{
///
/// Holds all configuration and session data for the client.
///
internal class ClientContext
{
///
/// The global application configuration.
///
internal AppConfig AppConfig { get; set; }
///
/// The browser application.
///
internal IBrowserApplication Browser { get; set; }
///
/// The client communication host.
///
internal IClientHost ClientHost { get; set; }
///
/// The identifier of the current session.
///
internal Guid SessionId { get; set; }
///
/// The settings for the current session.
///
internal AppSettings Settings { get; set; }
}
}