From 02a6c7151f22d56c4ff2fbbec7c79919a3302f9b Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Thu, 6 Apr 2023 16:40:00 +0300 Subject: [PATCH] Move Extensions to Tools --- RhSolutions.AddIn/Controllers/RibbonController.cs | 1 - RhSolutions.AddIn/Services/RhExcelReader.cs | 1 - RhSolutions.AddIn/Services/RhExcelWriter.cs | 1 - RhSolutions.AddIn/{Services => Tools}/WorksheetExtensions.cs | 5 ++++- 4 files changed, 4 insertions(+), 4 deletions(-) rename RhSolutions.AddIn/{Services => Tools}/WorksheetExtensions.cs (91%) diff --git a/RhSolutions.AddIn/Controllers/RibbonController.cs b/RhSolutions.AddIn/Controllers/RibbonController.cs index 302c6f6..0e82060 100644 --- a/RhSolutions.AddIn/Controllers/RibbonController.cs +++ b/RhSolutions.AddIn/Controllers/RibbonController.cs @@ -1,5 +1,4 @@ using ExcelDna.Integration.CustomUI; -using RhSolutions.Tools; using System.Reflection; using System.Runtime.InteropServices; #if! NET472 diff --git a/RhSolutions.AddIn/Services/RhExcelReader.cs b/RhSolutions.AddIn/Services/RhExcelReader.cs index 2395940..e7ae342 100644 --- a/RhSolutions.AddIn/Services/RhExcelReader.cs +++ b/RhSolutions.AddIn/Services/RhExcelReader.cs @@ -1,5 +1,4 @@ using System.IO; -using RhSolutions.Tools; #if !NET472 using System.Runtime.Versioning; using RhSolutions.Tools; diff --git a/RhSolutions.AddIn/Services/RhExcelWriter.cs b/RhSolutions.AddIn/Services/RhExcelWriter.cs index 1af78a3..51d66c6 100644 --- a/RhSolutions.AddIn/Services/RhExcelWriter.cs +++ b/RhSolutions.AddIn/Services/RhExcelWriter.cs @@ -3,7 +3,6 @@ using System.Runtime.Versioning; using RhSolutions.Tools; #endif -using RhSolutions.Tools; namespace RhSolutions.Services; diff --git a/RhSolutions.AddIn/Services/WorksheetExtensions.cs b/RhSolutions.AddIn/Tools/WorksheetExtensions.cs similarity index 91% rename from RhSolutions.AddIn/Services/WorksheetExtensions.cs rename to RhSolutions.AddIn/Tools/WorksheetExtensions.cs index 335c54d..0d4f9f3 100644 --- a/RhSolutions.AddIn/Services/WorksheetExtensions.cs +++ b/RhSolutions.AddIn/Tools/WorksheetExtensions.cs @@ -1,8 +1,11 @@ #if !NET472 using System.Runtime.Versioning; +using RhSolutions; +using RhSolutions.Services; +using RhSolutions.Tools; #endif -namespace RhSolutions.Services; +namespace RhSolutions.Tools; #if !NET472 [SupportedOSPlatform("windows")]