aboutsummaryrefslogtreecommitdiff
path: root/AddIn.cs
diff options
context:
space:
mode:
authorSerghei Cebotari <51533848+schebotar@users.noreply.github.com>2021-11-29 16:36:58 +0300
committerGitHub <noreply@github.com>2021-11-29 16:36:58 +0300
commit15995027bfbc535e4b9ffa159607caaffdecc478 (patch)
tree06c5c8ab66889c6e3dac0819280ef1b1bffcf3ac /AddIn.cs
parent0fe8e038af7f33eae824bba263e7c54dea829679 (diff)
parente9ec1df01b752b423b66cb30dc2025a396f769f5 (diff)
Merge pull request #1 from schebotar/experimental
Experimental
Diffstat (limited to 'AddIn.cs')
-rw-r--r--AddIn.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/AddIn.cs b/AddIn.cs
new file mode 100644
index 0000000..dd99667
--- /dev/null
+++ b/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();
+ }
+ }
+}