1 write to ArgDef
Microsoft.ML.Core (1)
CommandLine\CmdParser.cs (1)
1347ArgDef = argDef;
15 references to ArgDef
Microsoft.ML.Core (15)
CommandLine\CmdParser.cs (15)
598if (info.ArgDef == null) 607if (info.ArgDef != null) 610hadError |= !info.ArgDef.SetValue(this, ref values[info.Args.Length], str, "", destination); 622Contracts.Assert(arg != info.ArgDef); 767if (info.ArgDef != null) 768hadError |= info.ArgDef.Finish(this, values[info.Args.Length], destination); 777if (info.ArgDef != null) 779var val = info.ArgDef.GetValue(values); 780info.ArgDef.AppendSetting(env, sb, val, flags); 810if (info.ArgDef != null) 812var val = info.ArgDef.GetValue(values); 813info.ArgDef.AppendSetting(env, sb, val, flags); 954if (info.ArgDef != null) 955strings.Add(GetHelpStrings(env, info.ArgDef)); 1479if (_infoCustom.ArgDef == null && _infoCustom.Args.Length == 0)