@@ -51,7 +51,33 @@ public static object ADescriptFunction(object inout)
5151 return inout ;
5252 }
5353
54- [ ExcelCommand ]
54+ [ ExcelFunction ( Description = "Has many arguments" ) ]
55+ public static object AManyArgFunction (
56+ [ ExcelArgument ( Name = "Argument1" , Description = "is the first argument" ) ] double arg1 ,
57+ [ ExcelArgument ( Name = "Argument2" , Description = "is another argument" ) ] double arg2 ,
58+ [ ExcelArgument ( Name = "Argument3" , Description = "is another argument" ) ] double arg3 ,
59+ [ ExcelArgument ( Name = "Argument4" , Description = "is another argument" ) ] double arg4 ,
60+ [ ExcelArgument ( Name = "Argument5" , Description = "is another argument" ) ] double arg5 ,
61+ [ ExcelArgument ( Name = "Argument6" , Description = "is another argument" ) ] double arg6 ,
62+ [ ExcelArgument ( Name = "Argument7" , Description = "is another argument" ) ] double arg7 ,
63+ [ ExcelArgument ( Name = "Argument8" , Description = "is another argument" ) ] double arg8 ,
64+ [ ExcelArgument ( Name = "Argument9" , Description = "is another argument" ) ] double arg9 ,
65+ [ ExcelArgument ( Name = "Argument10" , Description = "is another argument" ) ] double arg10 ,
66+ [ ExcelArgument ( Name = "Argument11" , Description = "is another argument" ) ] double arg11 ,
67+ [ ExcelArgument ( Name = "Argument12" , Description = "is another argument" ) ] double arg12 ,
68+ [ ExcelArgument ( Name = "Argument13" , Description = "is another argument" ) ] double arg13 ,
69+ [ ExcelArgument ( Name = "Argument14" , Description = "is another argument" ) ] double arg14 ,
70+ [ ExcelArgument ( Name = "Argument15" , Description = "is another argument" ) ] double arg15 ,
71+ [ ExcelArgument ( Name = "Argument16" , Description = "is another argument" ) ] double arg16 ,
72+ [ ExcelArgument ( Name = "Argument18" , Description = "is another argument" ) ] double arg18 ,
73+ [ ExcelArgument ( Name = "Argument19" , Description = "is another argument" ) ] double arg19 ,
74+ [ ExcelArgument ( Name = "Argument20" , Description = "is another argument" ) ] double arg20
75+ )
76+ {
77+ return arg1 ;
78+ }
79+
80+ [ ExcelCommand ]
5581 public static void dnaLogDisplayShow ( )
5682 {
5783 LogDisplay . Show ( ) ;
0 commit comments