/*
* 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.Communication.Contracts.Data
{
///
/// This message is transmitted to the client to request a message box input by the user.
///
[Serializable]
public class MessageBoxRequestMessage : Message
{
///
/// The action to be displayed.
///
public int Action { get; private set; }
///
/// The icon to be displayed.
///
public int Icon { get; private set; }
///
/// The message to be displayed.
///
public string Message { get; private set; }
///
/// Identifies the message box request.
///
public Guid RequestId { get; private set; }
///
/// The title to be displayed.
///
public string Title { get; private set; }
public MessageBoxRequestMessage(int action, int icon, string message, Guid requestId, string title)
{
Action = action;
Icon = icon;
Message = message;
RequestId = requestId;
Title = title;
}
}
}