From 73569a43644309d0342817580bcfd86c1face5b8 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Tue, 20 Dec 2022 12:27:47 +0300 Subject: Namespace refactoring --- src/AddIn/AddIn.cs | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/AddIn/AddIn.cs (limited to 'src/AddIn/AddIn.cs') diff --git a/src/AddIn/AddIn.cs b/src/AddIn/AddIn.cs deleted file mode 100644 index b8bfd21..0000000 --- a/src/AddIn/AddIn.cs +++ /dev/null @@ -1,30 +0,0 @@ -using ExcelDna.Integration; -using ExcelDna.IntelliSense; -using Microsoft.Office.Interop.Excel; -using System.Net.Http; -using System.Runtime.Caching; - -namespace RhSolutions -{ - class AddIn : IExcelAddIn - { - public static Application Excel; - public static HttpClient httpClient; - - public void AutoOpen() - { - Excel = (Application)ExcelDnaUtil.Application; - httpClient = new HttpClient(); - IntelliSenseServer.Install(); - RegistryUtil.Initialize(); - EventsUtil.Initialize(); - } - - public void AutoClose() - { - IntelliSenseServer.Uninstall(); - RegistryUtil.Uninitialize(); - EventsUtil.Uninitialize(); - } - } -} -- cgit v1.2.3