GenericCacheTKey, TValueAddRange 方法

批量添加缓存项 如果键已存在,则跳过该键值对

Definition

命名空间: Suresking.Utility
程序集: Suresking.Utility (在 Suresking.Utility.dll 中) 版本:1.3.22+a27276bb8ffde055e69ff608e98aafba279e1e99
C#
public static void AddRange(
	IEnumerable<KeyValuePair<TKey, TValue>> items
)

参数

items  IEnumerableKeyValuePairTKey, TValue
要添加的键值对集合

异常

ArgumentNullException当items为null时抛出

参见