2 writes to ItemValueType
Microsoft.ML.Core (2)
CommandLine\CmdParser.cs (2)
1451
ItemValueType
= IsTaggedCollection ? ItemType.GenericTypeArguments[1] : ItemType;
1456
ItemValueType
= ItemType = field.FieldType;
14 references to ItemValueType
Microsoft.ML.Core (14)
CommandLine\CmdParser.cs (14)
637
else if (arg.
ItemValueType
== typeof(bool))
692
if (!arg.IsCollection || value == null || !arg.
ItemValueType
.IsSubclassOf(typeof(System.ValueType)) ||
693
arg.
ItemValueType
== typeof(char) || !value.Contains(":"))
1230
public Type ItemValueType { get { return _arg.
ItemValueType
; } }
1462
if (typeof(IComponentFactory).IsAssignableFrom(
ItemValueType
))
1464
else if (!IsValidItemType(
ItemValueType
))
1469
_ctorCustom =
ItemValueType
.GetConstructor(Type.EmptyTypes);
1479
_infoCustom = GetArgumentInfo(
ItemValueType
, def);
1485
throw Contracts.Except("Invalid argument type: '{0}'",
ItemValueType
.Name);
1578
ItemValueType
,
1613
ItemValueType
,
1628
var arr = Array.CreateInstance(
ItemValueType
, comList.Count);
1739
Type type =
ItemValueType
;
2181
Type type =
ItemValueType
;