1 write to Index
Microsoft.ML.Core (1)
CommandLine\CmdParser.cs (1)
1429
Index
= index;
14 references to Index
Microsoft.ML.Core (14)
CommandLine\CmdParser.cs (14)
624
Contracts.Assert(0 <= arg.
Index
&& arg.
Index
< info.Args.Length);
671
hadError |= !arg.SetValue(this, ref values[arg.
Index
], value, tag, destination);
673
hadError |= !arg.SetValue(this, ref values[arg.
Index
], strs[++i], "", destination);
680
hadError |= !arg.SetValue(this, ref values[arg.
Index
], value, tag, destination);
687
hadError |= !arg.SetValue(this, ref values[arg.
Index
], value, tag, destination);
695
hadError |= !arg.SetValue(this, ref values[arg.
Index
], value, tag, destination);
700
hadError |= !arg.SetValue(this, ref values[arg.
Index
], val, "", destination);
765
hadError |= arg.Finish(this, values[arg.
Index
], destination);
1206
Contracts.Assert(Args.Where(a => a.Index == argument.
Index
).Count() == 1);
1207
arg = Args.FirstOrDefault(a => a.Index == argument.
Index
);
1220
public int Index { get { return _arg.
Index
; } }
1342
Contracts.Assert(argDef == null || argDef.
Index
== -1);
1346
Contracts.Assert(args.Select((arg, index) => arg.
Index
== index).All(b => b));