From 2448e7dca5c1ed56b5822193fee7f18fabfd2fba Mon Sep 17 00:00:00 2001 From: huqingjie Date: Tue, 16 May 2023 10:04:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=20MapperAsync=20=E7=9A=84?= =?UTF-8?q?=E6=B3=9B=E5=9E=8B=E7=BA=A6=E6=9D=9F=20class,new()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DotNetCommon.Core/DotNetCommon.Core.csproj | 2 +- src/DotNetCommon.Core/Extensions/TaskExtensions.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DotNetCommon.Core/DotNetCommon.Core.csproj b/src/DotNetCommon.Core/DotNetCommon.Core.csproj index b9cbfc3..67d44d8 100644 --- a/src/DotNetCommon.Core/DotNetCommon.Core.csproj +++ b/src/DotNetCommon.Core/DotNetCommon.Core.csproj @@ -1,7 +1,7 @@ - 3.1.3 + 3.1.4 True .net常用功能及数据模型,包含: diff --git a/src/DotNetCommon.Core/Extensions/TaskExtensions.cs b/src/DotNetCommon.Core/Extensions/TaskExtensions.cs index 8ea3525..1e47461 100644 --- a/src/DotNetCommon.Core/Extensions/TaskExtensions.cs +++ b/src/DotNetCommon.Core/Extensions/TaskExtensions.cs @@ -20,7 +20,7 @@ /// /// /// - public static async Task MapperAsync(this Task task) where TFrom : class where TDest : class + public static async Task MapperAsync(this Task task) { return await task.ContinueWith(t => t.Result.Mapper()); } -- Gitee