2017-09-13 08:33:12 +02:00
|
|
|
|
/*
|
2019-01-09 11:25:21 +01:00
|
|
|
|
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
|
2017-09-13 08:33:12 +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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2019-03-12 16:18:27 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Globalization;
|
2019-08-30 15:59:51 +02:00
|
|
|
|
using SafeExamBrowser.SystemComponents.Contracts.Keyboard;
|
2017-09-13 08:33:12 +02:00
|
|
|
|
|
|
|
|
|
namespace SafeExamBrowser.SystemComponents
|
|
|
|
|
{
|
2019-08-30 15:59:51 +02:00
|
|
|
|
internal class KeyboardLayout : IKeyboardLayout
|
2017-09-13 08:33:12 +02:00
|
|
|
|
{
|
2019-08-30 15:59:51 +02:00
|
|
|
|
internal CultureInfo CultureInfo { get; set; }
|
2019-03-12 16:18:27 +01:00
|
|
|
|
|
2019-08-30 15:59:51 +02:00
|
|
|
|
public string CultureCode { get; set; }
|
|
|
|
|
public Guid Id { get; }
|
|
|
|
|
public bool IsCurrent { get; set; }
|
|
|
|
|
public string Name { get; set; }
|
2017-09-13 08:33:12 +02:00
|
|
|
|
|
2019-08-30 15:59:51 +02:00
|
|
|
|
public KeyboardLayout()
|
2017-09-13 08:33:12 +02:00
|
|
|
|
{
|
2019-08-30 15:59:51 +02:00
|
|
|
|
Id = Guid.NewGuid();
|
2017-09-13 08:33:12 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|