Example #1
0
 /// <summary>
 ///
 /// </summary>
 public IEnumerator <KeyValuePair <String, T> > GetEnumerator()
 {
     return(KeyObjects.GetEnumerator());
 }
Example #2
0
 /// <summary>
 /// 删除指定键的项
 /// </summary>
 public bool Remove(String key)
 {
     return(KeyObjects.Remove(key));
 }
Example #3
0
 /// <summary>
 /// 添加键值
 /// </summary>
 public void Add(String key, T value)
 {
     KeyObjects.Add(key, value);
 }
Example #4
0
 /// <summary>
 /// 判断是否包含指定的值
 /// </summary>
 public bool ContainsValue(T value)
 {
     return(KeyObjects.ContainsValue(value));
 }
Example #5
0
 /// <summary>
 /// 判断是否包含指定的键
 /// </summary>
 public bool ContainsKey(String key)
 {
     return(KeyObjects.ContainsKey(key));
 }
Example #6
0
 /// <summary>
 /// 清空集合
 /// </summary>
 public void Clear()
 {
     KeyObjects.Clear();
 }