1 write to ArgDef
Microsoft.ML.Core (1)
CommandLine\CmdParser.cs (1)
1348ArgDef = argDef;
15 references to ArgDef
Microsoft.ML.Core (15)
CommandLine\CmdParser.cs (15)
599if (info.ArgDef == null) 608if (info.ArgDef != null) 611hadError |= !info.ArgDef.SetValue(this, ref values[info.Args.Length], str, "", destination); 623Contracts.Assert(arg != info.ArgDef); 768if (info.ArgDef != null) 769hadError |= info.ArgDef.Finish(this, values[info.Args.Length], destination); 778if (info.ArgDef != null) 780var val = info.ArgDef.GetValue(values); 781info.ArgDef.AppendSetting(env, sb, val, flags); 811if (info.ArgDef != null) 813var val = info.ArgDef.GetValue(values); 814info.ArgDef.AppendSetting(env, sb, val, flags); 955if (info.ArgDef != null) 956strings.Add(GetHelpStrings(env, info.ArgDef)); 1480if (_infoCustom.ArgDef == null && _infoCustom.Args.Length == 0)