📄 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 + -