From 16b5ddedb1c89c0bdad56eab384f8e6cecaf2107 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Tue, 23 May 2023 07:07:16 +0300 Subject: [PATCH] Rename Magic to Guess --- RhSolutions.AddIn/AddIn/RhSolutionsAddIn.cs | 4 ++-- .../Controllers/RibbonController.cs | 2 +- .../Services/{MagicReader.cs => GuessReader.cs} | 4 ++-- RhSolutions.AddIn/Services/ReaderFactory.cs | 2 +- .../Tools/{MagicTool.cs => GuessTool.cs} | 6 +++--- RhSolutions.AddIn/Tools/ToolFactory.cs | 2 +- .../{CanDoMagic.cs => CanDoGuess.cs} | 16 +++++++--------- ...Magic.xlsx => TargetSpecificationGuess.xlsx} | Bin ...onMagic.xlsx => TestSpecificationGuess.xlsx} | Bin 9 files changed, 17 insertions(+), 19 deletions(-) rename RhSolutions.AddIn/Services/{MagicReader.cs => GuessReader.cs} (98%) rename RhSolutions.AddIn/Tools/{MagicTool.cs => GuessTool.cs} (74%) rename RhSolutions.Tests/{CanDoMagic.cs => CanDoGuess.cs} (72%) rename RhSolutions.Tests/TestWorkbooks/{TargetSpecificationMagic.xlsx => TargetSpecificationGuess.xlsx} (100%) rename RhSolutions.Tests/TestWorkbooks/{TestSpecificationMagic.xlsx => TestSpecificationGuess.xlsx} (100%) diff --git a/RhSolutions.AddIn/AddIn/RhSolutionsAddIn.cs b/RhSolutions.AddIn/AddIn/RhSolutionsAddIn.cs index 0e3ef77..8f5fd71 100644 --- a/RhSolutions.AddIn/AddIn/RhSolutionsAddIn.cs +++ b/RhSolutions.AddIn/AddIn/RhSolutionsAddIn.cs @@ -36,8 +36,8 @@ public sealed class RhSolutionsAddIn : IExcelAddIn Services.AddSingleton(); Services.AddTransient() .AddTransient(s => s.GetService()); - Services.AddTransient() - .AddTransient(s => s.GetService()); + Services.AddTransient() + .AddTransient(s => s.GetService()); Services.AddSingleton(); diff --git a/RhSolutions.AddIn/Controllers/RibbonController.cs b/RhSolutions.AddIn/Controllers/RibbonController.cs index bc72081..c57a374 100644 --- a/RhSolutions.AddIn/Controllers/RibbonController.cs +++ b/RhSolutions.AddIn/Controllers/RibbonController.cs @@ -27,7 +27,7 @@ public class RibbonController : ExcelRibbon