Browse Source

Apewer-6.8.2

dev
王厅 6 months ago
parent
commit
b1a04e59ec
  1. 2
      Apewer/Apewer.props
  2. 2
      Apewer/CollectionUtility.cs
  3. 4
      ChangeLog.md

2
Apewer/Apewer.props

@ -9,7 +9,7 @@
<Description></Description> <Description></Description>
<RootNamespace>Apewer</RootNamespace> <RootNamespace>Apewer</RootNamespace>
<Product>Apewer Libraries</Product> <Product>Apewer Libraries</Product>
<Version>6.8.1</Version> <Version>6.8.2</Version>
</PropertyGroup> </PropertyGroup>
<!-- 生成 --> <!-- 生成 -->

2
Apewer/CollectionUtility.cs

@ -309,7 +309,7 @@ namespace Apewer
} }
/// <summary>对元素去重,且去除 NULL 值。</summary> /// <summary>对元素去重,且去除 NULL 值。</summary>
public static T[] Distinct<T>(this IEnumerable<T> items) public static T[] Distinct<T>(IEnumerable<T> items)
{ {
if (items == null) throw new ArgumentNullException(nameof(items)); if (items == null) throw new ArgumentNullException(nameof(items));
var count = Count(items); var count = Count(items);

4
ChangeLog.md

@ -1,6 +1,10 @@
 
### 最新提交 ### 最新提交
### 6.8.2
- 问题修正
- CollectionUtility:Distinct 不再作为 IEnumerable<T> 的扩展方法,以避免与 System.Linq 冲突。
### 6.8.1 ### 6.8.1
- 新特性 - 新特性
- HttpClient:增加 RequestTime 和 ResponseTime 属性,记录发起请求和接收响应的时间; - HttpClient:增加 RequestTime 和 ResponseTime 属性,记录发起请求和接收响应的时间;

Loading…
Cancel
Save