A game about forced loneliness, made by TACStudios
1/*---------------------------------------------------------------------------------------------
2 * Copyright (c) Microsoft Corporation. All rights reserved.
3 * Licensed under the MIT License. See License.txt in the project root for license information.
4 *--------------------------------------------------------------------------------------------*/
5using System.Globalization;
6using System.Net;
7
8namespace Microsoft.Unity.VisualStudio.Editor.Messaging
9{
10 internal class Message
11 {
12 public MessageType Type { get; set; }
13
14 public string Value { get; set; }
15
16 public IPEndPoint Origin { get; set; }
17
18 public override string ToString()
19 {
20 return string.Format(CultureInfo.InvariantCulture, "<Message type:{0} value:{1}>", Type, Value);
21 }
22 }
23}