public Dictionary <string, object> CollectParams() { Dictionary <string, object> Params = new Dictionary <string, object>(); Params.Add("GameModes", (GameModes == null) ? null : GameModes.Split(",").Select(p => p.Trim()).ToArray()); Params.Add("OpenBrowsers", OpenBrowsers); Params.Add("Tests", (Tests == null) ? null: Tests.Split(",").Select(p => p.Trim()).ToArray()); Params.Add("NumUsers", NumUsers); Params.Add("IsParallel", IsParallel); Params.Add("IsStructured", IsStructured); Params.Add("DisableCleanup", DisableCleanup); Params.Add("AutoSubmitPercentage", AutoSubmitPercentage); Params.Add("RandomSeed", RandomSeed); Params.Add("UseDefaults", UseDefaults); return(Params); }