aboutsummaryrefslogtreecommitdiff
path: root/Source/ExcelDNA/AddIn.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2021-11-29 21:24:44 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2021-11-29 21:24:44 +0300
commit3ea18ae25e98527aa85835c9221ea01b36560b33 (patch)
treeca5ffb4f60b1c1b683e9094cec44d9431d3d1bb6 /Source/ExcelDNA/AddIn.cs
parentf3b6bfcd3e13519f648c3975d19b8f1d48130059 (diff)
Add Uri Converter
Diffstat (limited to 'Source/ExcelDNA/AddIn.cs')
-rw-r--r--Source/ExcelDNA/AddIn.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/Source/ExcelDNA/AddIn.cs b/Source/ExcelDNA/AddIn.cs
new file mode 100644
index 0000000..dd99667
--- /dev/null
+++ b/Source/ExcelDNA/AddIn.cs
@@ -0,0 +1,24 @@
+using ExcelDna.Integration;
+using ExcelDna.Registration;
+
+namespace Rehau.Sku.Assist
+{
+ public class AddIn : IExcelAddIn
+ {
+ public void AutoOpen()
+ {
+ RegisterFunctions();
+ }
+
+ public void AutoClose()
+ {
+ }
+
+ void RegisterFunctions()
+ {
+ ExcelRegistration.GetExcelFunctions()
+ .ProcessAsyncRegistrations(nativeAsyncIfAvailable: false)
+ .RegisterFunctions();
+ }
+ }
+}