From dce4d168864fb84a16832274931d1fc711079ecb Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 23 Oct 2024 23:47:04 -0700 Subject: [PATCH 1/3] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=94=B9=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E7=A9=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor/Converter/JsonDescriptionEnumConverter.cs | 2 +- src/BootstrapBlazor/Converter/JsonEnumConverter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor/Converter/JsonDescriptionEnumConverter.cs b/src/BootstrapBlazor/Converter/JsonDescriptionEnumConverter.cs index 9a3cae52c45..df5694bbcae 100644 --- a/src/BootstrapBlazor/Converter/JsonDescriptionEnumConverter.cs +++ b/src/BootstrapBlazor/Converter/JsonDescriptionEnumConverter.cs @@ -6,7 +6,7 @@ using System.Text.Json; using System.Text.Json.Serialization; -namespace BootstrapBlazor.Core.Converter; +namespace BootstrapBlazor.Components; /// /// 枚举类型转换器 序列化时把枚举类型的 [Description] 标签内容序列化成字符串 推荐使用 转换器 diff --git a/src/BootstrapBlazor/Converter/JsonEnumConverter.cs b/src/BootstrapBlazor/Converter/JsonEnumConverter.cs index afcaf8ed77f..18f18476db1 100644 --- a/src/BootstrapBlazor/Converter/JsonEnumConverter.cs +++ b/src/BootstrapBlazor/Converter/JsonEnumConverter.cs @@ -6,7 +6,7 @@ using System.Text.Json; using System.Text.Json.Serialization; -namespace BootstrapBlazor.Core.Converter; +namespace BootstrapBlazor.Components; /// /// JsonEnumConverter 枚举转换器 From 6baeafb45b003ed389801bdaff793e3b20d8ed52 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 23 Oct 2024 23:47:35 -0700 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E4=B8=8D?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=E5=91=BD=E5=90=8D=E7=A9=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor/Components/ThemeProvider/ThemeValue.cs | 2 -- src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs | 2 -- src/BootstrapBlazor/Services/Bluetooth/BluetoothServices.cs | 1 - .../Services/Serial/SerialPortFlowControlType.cs | 2 -- src/BootstrapBlazor/Services/Serial/SerialPortParityType.cs | 2 -- 5 files changed, 9 deletions(-) diff --git a/src/BootstrapBlazor/Components/ThemeProvider/ThemeValue.cs b/src/BootstrapBlazor/Components/ThemeProvider/ThemeValue.cs index cf7906e890c..3276c2354dd 100644 --- a/src/BootstrapBlazor/Components/ThemeProvider/ThemeValue.cs +++ b/src/BootstrapBlazor/Components/ThemeProvider/ThemeValue.cs @@ -3,8 +3,6 @@ // See the LICENSE file in the project root for more information. // Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone -using BootstrapBlazor.Core.Converter; - namespace BootstrapBlazor.Components; /// diff --git a/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs b/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs index a8ca0d7b2b3..f92e9bf3c94 100644 --- a/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs +++ b/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs @@ -3,8 +3,6 @@ // See the LICENSE file in the project root for more information. // Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone -using BootstrapBlazor.Core.Converter; - namespace BootstrapBlazor.Components; /// diff --git a/src/BootstrapBlazor/Services/Bluetooth/BluetoothServices.cs b/src/BootstrapBlazor/Services/Bluetooth/BluetoothServices.cs index d05f7196b5a..7196ccebbe5 100644 --- a/src/BootstrapBlazor/Services/Bluetooth/BluetoothServices.cs +++ b/src/BootstrapBlazor/Services/Bluetooth/BluetoothServices.cs @@ -3,7 +3,6 @@ // See the LICENSE file in the project root for more information. // Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone -using BootstrapBlazor.Core.Converter; using System.Text.Json.Serialization; namespace BootstrapBlazor.Components; diff --git a/src/BootstrapBlazor/Services/Serial/SerialPortFlowControlType.cs b/src/BootstrapBlazor/Services/Serial/SerialPortFlowControlType.cs index 9b7051de1e8..818187167d8 100644 --- a/src/BootstrapBlazor/Services/Serial/SerialPortFlowControlType.cs +++ b/src/BootstrapBlazor/Services/Serial/SerialPortFlowControlType.cs @@ -3,8 +3,6 @@ // See the LICENSE file in the project root for more information. // Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone -using BootstrapBlazor.Core.Converter; - namespace BootstrapBlazor.Components; /// diff --git a/src/BootstrapBlazor/Services/Serial/SerialPortParityType.cs b/src/BootstrapBlazor/Services/Serial/SerialPortParityType.cs index 6a2d632c2d9..8295de03103 100644 --- a/src/BootstrapBlazor/Services/Serial/SerialPortParityType.cs +++ b/src/BootstrapBlazor/Services/Serial/SerialPortParityType.cs @@ -3,8 +3,6 @@ // See the LICENSE file in the project root for more information. // Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone -using BootstrapBlazor.Core.Converter; - namespace BootstrapBlazor.Components; /// From 53334d50f9c857da0c5a9296f07cb75c28e7bf53 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 23 Oct 2024 23:54:02 -0700 Subject: [PATCH 3/3] =?UTF-8?q?test:=20=E6=9B=B4=E6=96=B0=E5=8D=95?= =?UTF-8?q?=E5=85=83=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/UnitTest/Converters/JsonDescriptionEnumConverterTest.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/test/UnitTest/Converters/JsonDescriptionEnumConverterTest.cs b/test/UnitTest/Converters/JsonDescriptionEnumConverterTest.cs index 167ec53ffd5..26a0aa7ffa2 100644 --- a/test/UnitTest/Converters/JsonDescriptionEnumConverterTest.cs +++ b/test/UnitTest/Converters/JsonDescriptionEnumConverterTest.cs @@ -3,7 +3,6 @@ // See the LICENSE file in the project root for more information. // Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone -using BootstrapBlazor.Core.Converter; using System.ComponentModel; using System.Text.Json; using System.Text.Json.Serialization;