Given the program below that accepts arguments from the command-line via the string[] args parameter, how do I setup a business transaction that will split based on the first value, args[0]? I have it set to use Parameter index 0 and a Getter chain value of .[0] right now, which doesn't seem to work. For the Getter chain I have also tried string/0 and int/0 an those do not seem to work either. The Using Getter Chains documentation is not very clear about this and does not provide clear example of accessing a value in a parameter that is an array. using System;
using System.Collections.Generic;
using System.Linq;
public class Program
{
public static void Main(string[] args)
{
switch(args[0])
{
case "A":
DoA();
break;
case "B":
DoB();
break;
}
}
private static void DoA(){}
private static void DoB(){}
}
... View more