1 write to Index
Microsoft.ML.Core (1)
CommandLine\CmdParser.cs (1)
1428
Index
= index;
14 references to Index
Microsoft.ML.Core (14)
CommandLine\CmdParser.cs (14)
623
Contracts.Assert(0 <= arg.
Index
&& arg.
Index
< info.Args.Length);
670
hadError |= !arg.SetValue(this, ref values[arg.
Index
], value, tag, destination);
672
hadError |= !arg.SetValue(this, ref values[arg.
Index
], strs[++i], "", destination);
679
hadError |= !arg.SetValue(this, ref values[arg.
Index
], value, tag, destination);
686
hadError |= !arg.SetValue(this, ref values[arg.
Index
], value, tag, destination);
694
hadError |= !arg.SetValue(this, ref values[arg.
Index
], value, tag, destination);
699
hadError |= !arg.SetValue(this, ref values[arg.
Index
], val, "", destination);
764
hadError |= arg.Finish(this, values[arg.
Index
], destination);
1205
Contracts.Assert(Args.Where(a => a.Index == argument.
Index
).Count() == 1);
1206
arg = Args.FirstOrDefault(a => a.Index == argument.
Index
);
1219
public int Index { get { return _arg.
Index
; } }
1341
Contracts.Assert(argDef == null || argDef.
Index
== -1);
1345
Contracts.Assert(args.Select((arg, index) => arg.
Index
== index).All(b => b));