2 writes to ItemType
Microsoft.ML.Core (2)
CommandLine\CmdParser.cs (2)
1447
ItemType
= field.FieldType.GetElementType();
1455
ItemValueType =
ItemType
= field.FieldType;
11 references to ItemType
Microsoft.ML.Core (11)
CommandLine\CmdParser.cs (11)
1224
public Type ItemType { get { return _arg.
ItemType
; } }
1449
IsTaggedCollection = IsKeyValuePair(
ItemType
);
1450
ItemValueType = IsTaggedCollection ?
ItemType
.GenericTypeArguments[1] :
ItemType
;
1512
Field.SetValue(destination, Array.CreateInstance(
ItemType
, 0));
1546
ItemType
,
1592
var arr = Array.CreateInstance(
ItemType
, comList.Count);
1595
var kvp = Activator.CreateInstance(
ItemType
, comList[i].Key, comList[i].Value);
1635
var res = Array.CreateInstance(
ItemType
, Utils.Size(values));
1638
var kvp = Activator.CreateInstance(
ItemType
, values[i].Key, values[i].Value);
1645
var res = Array.CreateInstance(
ItemType
, Utils.Size(values));