/*
* Copyright (c) 2024 ETH Zürich, IT Services
*
* 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.Proctoring.Contracts.Events
{
///
/// The event arguments used for the remaining work updated event fired by the .
///
public class RemainingWorkUpdatedEventArgs
{
///
/// The path of the local cache, if is true.
///
public string CachePath { get; set; }
///
/// Indicates that the execution of the remaining work has failed.
///
public bool HasFailed { get; set; }
///
/// Indicates that the execution of the remaining work has finished.
///
public bool IsFinished { get; set; }
///
/// Indicates that the execution is paused resp. waiting to be resumed.
///
public bool IsWaiting { get; set; }
///
/// The point in time when the next transmission will take place, if available.
///
public DateTime? Next { get; set; }
///
/// The number of already executed work items.
///
public int Progress { get; set; }
///
/// The point in time when the execution will resume, if is true.
///
public DateTime Resume { get; set; }
///
/// The total number of work items to be executed.
///
public int Total { get; set; }
}
}