Methods_T_Cyjb_Collections_ObjectModel_ReadOnlyDictionaryBase_2 - CYJB/Cyjb GitHub Wiki

ReadOnlyDictionaryBase(TKey, TValue) 方法

The ReadOnlyDictionaryBase(TKey, TValue) generic type exposes the following members.

方法

 

名称 说明
公共方法 ContainsKey 确定当前字典是否包含带有指定键的元素。
公共方法 Equals Determines whether the specified object is equal to the current object. (继承自 Object。)
受保护的方法 Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。)
公共方法 GetEnumerator 返回一个循环访问字典的枚举器。
公共方法 GetHashCode Serves as the default hash function. (继承自 Object。)
受保护的方法 GetItem 获取具有指定键的元素。
受保护的方法 GetSyncRoot 获取一个可用于同步对当前字典的访问的对象。
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
受保护的方法 MemberwiseClone Creates a shallow copy of the current Object. (继承自 Object。)
公共方法 ToString Returns a string that represents the current object. (继承自 Object。)
公共方法 TryGetValue 获取与指定键关联的值。
  Back to Top

扩展方法

 

名称 说明
公共扩展器方法 AddRange(KeyValuePair(TKey, TValue)) 将指定集合的元素添加到当前集合中。 (由 CollectionUtil 定义。)
公共扩展器方法 AsReadOnly(KeyValuePair(TKey, TValue)) 返回当前集合的只读包装。 (由 CollectionUtil 定义。)
公共扩展器方法 IsDistinct(KeyValuePair(TKey, TValue)) 判断序列中是否不包含重复元素。 (由 EnumerableUtil 定义。)
  Back to Top

参见

Reference

ReadOnlyDictionaryBase(TKey, TValue) 类
Cyjb.Collections.ObjectModel 命名空间

⚠️ **GitHub.com Fallback** ⚠️