/* * 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; 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 { // TODO ///// ///// The action to be displayed. ///// //public MessageBoxAction Action { get; private set; } ///// ///// The icon to be displayed. ///// //public MessageBoxIcon 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(/*MessageBoxAction action, MessageBoxIcon icon, */string message, Guid requestId, string title) { // TODO //Action = action; //Icon = icon; Message = message; RequestId = requestId; Title = title; } } }