⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wrappediinstantmessageinfo.cs

📁 该源代码用 C# 写成
💻 CS
字号:
using System;
using System.Net;

namespace Org.InteliIM
{
	/// <summary>
	/// 接收到的即时消息信息
	/// </summary>
	public class WrappedIInstantMessageInfo
	{
		private InstantMessage message;

		/// <summary>
		/// 即时消息
		/// </summary>
		public InstantMessage Message
		{
			get { return this.message; }
			set { this.message = value; }
		}

		private DateTime time;

		/// <summary>
		/// 接收/发送该消息的时间
		/// </summary>
		public DateTime Time
		{
			get { return this.time; }
			set { this.time = value; }
		}

		private IPEndPoint ep;

		/// <summary>
		/// 接收/发送该消息的网络端点信息
		/// </summary>
		public IPEndPoint Ep
		{
			get { return this.ep; }
			set { this.ep = value; }
		}

		private bool handled = false;

		public bool Handled
		{
			get
			{
				return this.handled;
			}
			set
			{
				this.handled = value;
			}
		}

		/// <summary>
		/// 构造函数
		/// </summary>
		public WrappedIInstantMessageInfo()
		{
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -