?? nodekeycollection.cs
字號:
?namespace Imps.Client.Pc.UIContactList
{
using Imps.Client.Pc.BizControls;
using System;
using System.Collections;
using System.Collections.Generic;
public class NodeKeyCollection : ICollection<NodeKey>, IEnumerable<NodeKey>, IEnumerable
{
private List<NodeKey> _col = new List<NodeKey>();
public void Add(NodeKey item)
{
this._col.Add(item);
}
public void Clear()
{
this._col.Clear();
}
public bool Contains(NodeKey item)
{
return this._col.Contains(item);
}
public void CopyTo(NodeKey[] array, int arrayIndex)
{
throw new NotSupportedException();
}
public IEnumerator<NodeKey> GetEnumerator()
{
return this._col.GetEnumerator();
}
public bool Remove(NodeKey item)
{
return this._col.Remove(item);
}
IEnumerator IEnumerable.GetEnumerator()
{
return this.GetEnumerator();
}
public int Count
{
get
{
return this._col.Count;
}
}
public bool IsReadOnly
{
get
{
return this._col.IsReadOnly;
}
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -