diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-08 14:38:23 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-08 14:38:23 +0300 |
commit | 8a869e73fb1873b1f85203b7a4a18dc8a2325a11 (patch) | |
tree | 75664c807edbd0901cfc8adb9fca44724cb1452f /Source/AddIn/Functions.cs | |
parent | 875fc1ef72d35e66cef04697dc947f80c4bcb87c (diff) |
Rename dir ExcelDNA -> AddIn
Diffstat (limited to 'Source/AddIn/Functions.cs')
-rw-r--r-- | Source/AddIn/Functions.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Source/AddIn/Functions.cs b/Source/AddIn/Functions.cs new file mode 100644 index 0000000..6d94e24 --- /dev/null +++ b/Source/AddIn/Functions.cs @@ -0,0 +1,19 @@ +using ExcelDna.Integration; + +namespace RehauSku.Assist +{ + public class Functions + { + [ExcelFunction] + public static object RAUNAME(string request) + => SkuAssist.GetProduct(request, ProductField.Name); + + [ExcelFunction] + public static object RAUSKU(string request) + => SkuAssist.GetProduct(request, ProductField.Id); + + [ExcelFunction] + public static object RAUPRICE(string request) + => SkuAssist.GetProduct(request, ProductField.Price); + } +}
\ No newline at end of file |