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

📄 messagecontactlist.cs

📁 该源代码用 C# 写成
💻 CS
字号:
using System.Text;
using Org.InteliIM.Users;

namespace Org.InteliIM.Users
{
	/// <summary>
	/// 同事列表消息
	/// </summary>
	public sealed class MessageContactList : InstantMessage
	{
		private ContactCollection contacts;

		public ContactCollection Contacts
		{
			get
			{
				if (this.contacts == null)
					this.contacts = new ContactCollection();

				return contacts;
			}
			set
			{
				contacts = value;
			}
		}

		private ContactOnlineInfoPairCollection onlineInfoPairs;

		public ContactOnlineInfoPairCollection OnlineInfoPairs
		{
			get
			{
				if(this.onlineInfoPairs == null)
					this.onlineInfoPairs = new ContactOnlineInfoPairCollection();

				return this.onlineInfoPairs;
			}
			set
			{
				this.onlineInfoPairs = value;
			}
		}

		public MessageContactList()
		{
		}

		public override string ToString()
		{
			StringBuilder sb = new StringBuilder();

			sb.Append("同事列表 [用户: " + this.To + "]");

			return sb.ToString();
		}
	}
}

⌨️ 快捷键说明

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