2 writes to ItemType
Microsoft.ML.Core (2)
CommandLine\CmdParser.cs (2)
1448
ItemType
= field.FieldType.GetElementType();
1456
ItemValueType =
ItemType
= field.FieldType;
11 references to ItemType
Microsoft.ML.Core (11)
CommandLine\CmdParser.cs (11)
1225
public Type ItemType { get { return _arg.
ItemType
; } }
1450
IsTaggedCollection = IsKeyValuePair(
ItemType
);
1451
ItemValueType = IsTaggedCollection ?
ItemType
.GenericTypeArguments[1] :
ItemType
;
1513
Field.SetValue(destination, Array.CreateInstance(
ItemType
, 0));
1547
ItemType
,
1593
var arr = Array.CreateInstance(
ItemType
, comList.Count);
1596
var kvp = Activator.CreateInstance(
ItemType
, comList[i].Key, comList[i].Value);
1636
var res = Array.CreateInstance(
ItemType
, Utils.Size(values));
1639
var kvp = Activator.CreateInstance(
ItemType
, values[i].Key, values[i].Value);
1646
var res = Array.CreateInstance(
ItemType
, Utils.Size(values));