seb-win-refactoring/SafeExamBrowser.Contracts/Communication/Data/Response.cs

25 lines
699 B
C#
Raw Normal View History

/*
* Copyright (c) 2018 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/.
*/
2018-02-15 15:42:54 +01:00
using System;
namespace SafeExamBrowser.Contracts.Communication.Data
{
/// <summary>
/// The base class for respones, from which a response must inherit in order to be sent to an interlocutor as reply to <see cref="ICommunication.Send(Messages.Message)"/>.
/// </summary>
2018-02-15 15:42:54 +01:00
[Serializable]
public abstract class Response
{
public override string ToString()
{
return GetType().Name;
}
}
}