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