File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,29 @@ You can call like here.
216216> SampleApp .exe - array [10 ,20 ,30 ] - person {" Age" : 10 ," Name" : " foo" }
217217```
218218
219+ For the array handling , it can be a treat without correct JSON .
220+ e .g . one - length argument can handle without `[]`.
221+
222+ ```csharp
223+ Foo (int [] array )
224+ > SampleApp .exe - array 9999
225+ ```
226+
227+ multiple - argument can handle by split with ` `.
228+
229+ ```csharp
230+ Foo (int [] array )
231+ > SampleApp .exe - array " 11 22 33"
232+ ```
233+
234+ string argument can handle without `" `.
235+
236+ ```csharp
237+ Foo (string [] array )
238+ > SampleApp .exe - array " hello"
239+ > SampleApp .exe - array " foo bar baz"
240+ ```
241+
219242Exit Code
220243-- -
221244If the batch method returns `int ` or `Task < int > ` value , BatchEngine will set the return value to the exit code .
You can’t perform that action at this time.
0 commit comments