/*
 * Copyright (c) 2020 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.Events
{
	/// <summary>
	/// The event arguments used for the message box request event fired by the <see cref="Hosts.IClientHost"/>.
	/// </summary>
	public class MessageBoxRequestEventArgs : CommunicationEventArgs
	{
		/// <summary>
		/// The action to be displayed.
		/// </summary>
		public int Action { get; set; }

		/// <summary>
		/// The icon to be displayed.
		/// </summary>
		public int Icon { get; set; }

		/// <summary>
		/// The message to be displayed.
		/// </summary>
		public string Message { get; set; }

		/// <summary>
		/// Identifies the message box request.
		/// </summary>
		public Guid RequestId { get; set; }

		/// <summary>
		/// The title to be displayed.
		/// </summary>
		public string Title { get; set; }
	}
}
