From 10e6a108f974b3e2541ec322f99e60ec5ab7d9f7 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Mon, 4 Jul 2022 09:21:44 +0300 Subject: Remove Response Order setting --- src/AddIn/AddIn.cs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/AddIn/AddIn.cs') diff --git a/src/AddIn/AddIn.cs b/src/AddIn/AddIn.cs index b532bfb..035e50f 100644 --- a/src/AddIn/AddIn.cs +++ b/src/AddIn/AddIn.cs @@ -7,15 +7,6 @@ using System.Runtime.Caching; namespace RehauSku { - enum ResponseOrder - { - Default, - Relevance, - Name, - Price, - Series - } - class AddIn : IExcelAddIn { public static HttpClient httpClient; -- cgit v1.2.3 From dca3481e9a91e1c9d5b86e1508b0a2993088e759 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Mon, 4 Jul 2022 11:33:29 +0300 Subject: Remove Store Functions --- src/AddIn/AddIn.cs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/AddIn/AddIn.cs') diff --git a/src/AddIn/AddIn.cs b/src/AddIn/AddIn.cs index 035e50f..1606624 100644 --- a/src/AddIn/AddIn.cs +++ b/src/AddIn/AddIn.cs @@ -9,14 +9,10 @@ namespace RehauSku { class AddIn : IExcelAddIn { - public static HttpClient httpClient; - public static MemoryCache memoryCache; public static Application Excel; public void AutoOpen() { - httpClient = new HttpClient(); - memoryCache = new MemoryCache("RehauSku"); Excel = (Application)ExcelDnaUtil.Application; RegisterFunctions(); IntelliSenseServer.Install(); @@ -29,7 +25,6 @@ namespace RehauSku IntelliSenseServer.Uninstall(); RegistryUtil.Uninitialize(); EventsUtil.Uninitialize(); - memoryCache.Dispose(); } void RegisterFunctions() -- cgit v1.2.3