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

📄 messagegetcontactinforesult.cs

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

namespace Org.InteliIM.Users
{
	/// <summary>
	/// 获取同事资料结果消息
	/// </summary>
	public sealed class MessageGetContactInfoResult : InstantMessage
	{
		private Contact contact;

		/// <summary>
		/// 用户信息
		/// </summary>
		public Contact Contact
		{
			get
			{
				if (this.contact == null)
					this.contact = new Contact();

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

		public MessageGetContactInfoResult()
		{
		}

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

			sb.Append("获取同事资料结果 [用户:" + this.From);
			sb.Append(",同事:" + this.Contact.Id + "]");

			return sb.ToString();
		}

	}
}

⌨️ 快捷键说明

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