diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2021-11-29 15:50:24 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2021-11-29 15:50:24 +0300 |
commit | 3eb118d6db672eb8e27f2b2478b0688141782654 (patch) | |
tree | 02fc5455edfbc0d5bcdf17e366185985531c1441 /AddIn.cs | |
parent | 0fe8e038af7f33eae824bba263e7c54dea829679 (diff) |
Async/await ready solution init commit
Diffstat (limited to 'AddIn.cs')
-rw-r--r-- | AddIn.cs | 24 |
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(); + } + } +} |