contactlistreceivedeventargs.cs
来自「该源代码用 C# 写成」· CS 代码 · 共 49 行
CS
49 行
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 + =
减小字号Ctrl + -
显示快捷键?