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

📄 contactlistreceivedeventargs.cs

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

namespace Org.InteliIM.Users
{
	/// <summary>
	/// ContactListReceivedEventArgs ժҪ˵
	/// </summary>
	public class ContactListReceivedEventArgs
		: EventArgs
	{
		public ContactListReceivedEventArgs(ContactCollection contacts, 
		                                    ContactOnlineInfoPairCollection onlineInfoPairs)
		{
			this.Contacts = contacts;
			this.OnlineInfoPairs = onlineInfoPairs;
		}

		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;
			}
		}
	}
}

⌨️ 快捷键说明

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