aboutsummaryrefslogtreecommitdiff
path: root/src/AddIn/AddIn.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2022-12-19 08:37:26 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2022-12-19 08:37:26 +0300
commita7e5a500e1c78ebc556f09831402838903fa4b79 (patch)
tree6a974a96e2d9012fe05d22eb2cd5cdd0206589ba /src/AddIn/AddIn.cs
parente7d590bd2387f656d0b12db6fbe09abf647623bd (diff)
parentb66cc8fdce099daaf42f90ca8ae488bebd47d125 (diff)
Merge branch 'dev'
Diffstat (limited to 'src/AddIn/AddIn.cs')
-rw-r--r--src/AddIn/AddIn.cs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/AddIn/AddIn.cs b/src/AddIn/AddIn.cs
index b532bfb..1606624 100644
--- a/src/AddIn/AddIn.cs
+++ b/src/AddIn/AddIn.cs
@@ -7,25 +7,12 @@ using System.Runtime.Caching;
namespace RehauSku
{
- enum ResponseOrder
- {
- Default,
- Relevance,
- Name,
- Price,
- Series
- }
-
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();
@@ -38,7 +25,6 @@ namespace RehauSku
IntelliSenseServer.Uninstall();
RegistryUtil.Uninitialize();
EventsUtil.Uninitialize();
- memoryCache.Dispose();
}
void RegisterFunctions()