From c5c327802ee6afedfa5c9e72e9cee0035c630f66 Mon Sep 17 00:00:00 2001 From: Max Zheng <34936931+maxzh1999tw@users.noreply.github.com> Date: Wed, 17 Jan 2024 21:39:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E5=BC=8F=E7=89=88=E7=99=BC=E5=B8=83?= =?UTF-8?q?=E5=89=8D=E6=BA=96=E5=82=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Excely.ClosedXML/Excely.ClosedXML.csproj | 4 ++-- Excely.EPPlus.LGPL/Excely.EPPlus.LGPL.csproj | 4 ++-- Excely/Excely.csproj | 4 ++-- Excely/TableConverters/ClassListTableConverter.cs | 4 ++-- Excely/TableConverters/DictionaryListTableConverter.cs | 6 +----- Excely/TableFactories/DictionaryListTableFactory.cs | 5 +---- 6 files changed, 10 insertions(+), 17 deletions(-) diff --git a/Excely.ClosedXML/Excely.ClosedXML.csproj b/Excely.ClosedXML/Excely.ClosedXML.csproj index 3d73ca6..ed98e2d 100644 --- a/Excely.ClosedXML/Excely.ClosedXML.csproj +++ b/Excely.ClosedXML/Excely.ClosedXML.csproj @@ -7,7 +7,7 @@ True LICENSE Max Zheng - 0.1.0-alpha + 1.0.0 Excely 的 ClosedXML 擴展,以 ClosedXML 來處理 Excel 檔案。 Copyright (c) MaxZheng 2023 https://github.com/maxzh1999tw/Excely @@ -16,7 +16,7 @@ https://github.com/maxzh1999tw/Excely git excel,csv,import,export - 預覽版本 + diff --git a/Excely.EPPlus.LGPL/Excely.EPPlus.LGPL.csproj b/Excely.EPPlus.LGPL/Excely.EPPlus.LGPL.csproj index 021c883..37f4e46 100644 --- a/Excely.EPPlus.LGPL/Excely.EPPlus.LGPL.csproj +++ b/Excely.EPPlus.LGPL/Excely.EPPlus.LGPL.csproj @@ -6,7 +6,7 @@ enable True LICENSE - 0.1.0-alpha + 1.0.0 Max Zheng Excely 的 EPPlus 擴展,以最後一版 LGPL 的 EPPlus 來處理 Excel 檔案。 Copyright (c) MaxZheng 2023 @@ -16,7 +16,7 @@ https://github.com/maxzh1999tw/Excely git excel,csv,import,export - 預覽版本 + diff --git a/Excely/Excely.csproj b/Excely/Excely.csproj index e3ff73f..bc0e6d7 100644 --- a/Excely/Excely.csproj +++ b/Excely/Excely.csproj @@ -14,10 +14,10 @@ https://github.com/maxzh1999tw/Excely excel,csv,import,export Excely-128x128.png - 0.1.0-alpha + 1.0.0 LICENSE git - 預覽版本 + False diff --git a/Excely/TableConverters/ClassListTableConverter.cs b/Excely/TableConverters/ClassListTableConverter.cs index ec27ab4..dbbfc98 100644 --- a/Excely/TableConverters/ClassListTableConverter.cs +++ b/Excely/TableConverters/ClassListTableConverter.cs @@ -258,9 +258,9 @@ public delegate bool ErrorHandlingPolicyDelegate( public static string? DefaultPropertyNamePolicy(PropertyInfo property) => property.Name; public static int? DefaultPropertyIndexPolicy(PropertyInfo[] allProperties, PropertyInfo property) => Array.IndexOf(allProperties, property); - + public static object? DefaultPropertyValueSettingPolicy(PropertyInfo property, object? originalValue) => originalValue; - + public static bool DefaultErrorHandlingPolicyDelegate( CellLocation cellLocation, TClass writtingObject, diff --git a/Excely/TableConverters/DictionaryListTableConverter.cs b/Excely/TableConverters/DictionaryListTableConverter.cs index 3da069a..a900dea 100644 --- a/Excely/TableConverters/DictionaryListTableConverter.cs +++ b/Excely/TableConverters/DictionaryListTableConverter.cs @@ -1,8 +1,4 @@ -using System; -using System.Formats.Asn1; -using System.Reflection; - -namespace Excely.TableConverters +namespace Excely.TableConverters { /// /// 將 Table 轉換為字典列表。 diff --git a/Excely/TableFactories/DictionaryListTableFactory.cs b/Excely/TableFactories/DictionaryListTableFactory.cs index 9453601..90ef244 100644 --- a/Excely/TableFactories/DictionaryListTableFactory.cs +++ b/Excely/TableFactories/DictionaryListTableFactory.cs @@ -1,7 +1,4 @@ -using System.Formats.Asn1; -using System.Reflection; - -namespace Excely.TableFactories +namespace Excely.TableFactories { /// /// 提供以字典 Key 為欄位,將字典集合傾印至表格的功能。