aboutsummaryrefslogtreecommitdiff
path: root/Source/ExcelDNA/AddIn.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2021-12-03 12:57:22 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2021-12-03 12:57:22 +0300
commitb5c71350700a486b8a8d1fa0fe7db32220963eba (patch)
treed49cfb62454f68333d2c19f5645e13d81cc108c1 /Source/ExcelDNA/AddIn.cs
parent3ea18ae25e98527aa85835c9221ea01b36560b33 (diff)
Add Caching and replace HttpClientUtil class to external file
Diffstat (limited to 'Source/ExcelDNA/AddIn.cs')
-rw-r--r--Source/ExcelDNA/AddIn.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/ExcelDNA/AddIn.cs b/Source/ExcelDNA/AddIn.cs
index dd99667..0505e5b 100644
--- a/Source/ExcelDNA/AddIn.cs
+++ b/Source/ExcelDNA/AddIn.cs
@@ -1,13 +1,17 @@
using ExcelDna.Integration;
using ExcelDna.Registration;
+using System.Net.Http;
namespace Rehau.Sku.Assist
{
public class AddIn : IExcelAddIn
{
+ public static HttpClient httpClient;
+
public void AutoOpen()
{
RegisterFunctions();
+ httpClient = new HttpClient();
}
public void AutoClose()