2020-07-13 22:57:19 +02:00
|
|
|
|
/*
|
2024-03-05 18:37:42 +01:00
|
|
|
|
* Copyright (c) 2024 ETH Zürich, IT Services
|
2020-07-13 22:57: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/.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using SafeExamBrowser.Core.Contracts.OperationModel.Events;
|
2020-07-28 19:56:25 +02:00
|
|
|
|
using SafeExamBrowser.Server.Contracts.Data;
|
2020-07-13 22:57:19 +02:00
|
|
|
|
|
|
|
|
|
namespace SafeExamBrowser.Runtime.Operations.Events
|
|
|
|
|
{
|
|
|
|
|
internal class ExamSelectionEventArgs : ActionRequiredEventArgs
|
|
|
|
|
{
|
|
|
|
|
internal IEnumerable<Exam> Exams { get; set; }
|
|
|
|
|
internal Exam SelectedExam { get; set; }
|
2020-07-22 18:11:51 +02:00
|
|
|
|
internal bool Success { get; set; }
|
2020-07-13 22:57:19 +02:00
|
|
|
|
|
|
|
|
|
internal ExamSelectionEventArgs(IEnumerable<Exam> exams)
|
|
|
|
|
{
|
|
|
|
|
Exams = exams;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|