From b1a04e59ec9b8d24088a6dfeca02355d58628fe2 Mon Sep 17 00:00:00 2001 From: Elivo Date: Fri, 13 Dec 2024 14:25:00 +0800 Subject: [PATCH] Apewer-6.8.2 --- Apewer/Apewer.props | 2 +- Apewer/CollectionUtility.cs | 2 +- ChangeLog.md | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Apewer/Apewer.props b/Apewer/Apewer.props index f831d0e..5fe1b39 100644 --- a/Apewer/Apewer.props +++ b/Apewer/Apewer.props @@ -9,7 +9,7 @@ Apewer Apewer Libraries - 6.8.1 + 6.8.2 diff --git a/Apewer/CollectionUtility.cs b/Apewer/CollectionUtility.cs index dcea734..d0ead3c 100644 --- a/Apewer/CollectionUtility.cs +++ b/Apewer/CollectionUtility.cs @@ -309,7 +309,7 @@ namespace Apewer } /// 对元素去重,且去除 NULL 值。 - public static T[] Distinct(this IEnumerable items) + public static T[] Distinct(IEnumerable items) { if (items == null) throw new ArgumentNullException(nameof(items)); var count = Count(items); diff --git a/ChangeLog.md b/ChangeLog.md index 2314286..85b5d87 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,10 @@  ### 最新提交 +### 6.8.2 +- 问题修正 + - CollectionUtility:Distinct 不再作为 IEnumerable 的扩展方法,以避免与 System.Linq 冲突。 + ### 6.8.1 - 新特性 - HttpClient:增加 RequestTime 和 ResponseTime 属性,记录发起请求和接收响应的时间;