1 write to Type
Microsoft.ML.Core (1)
ComponentModel\ComponentCatalog.cs (1)
211
Type
= attr.InstanceType;
7 references to Type
Microsoft.ML.Core (7)
ComponentModel\ComponentCatalog.cs (7)
256
throw Contracts.Except("Can't instantiate class '{0}'",
Type
.Name);
288
if (!typeof(TRes).IsAssignableFrom(
Type
))
298
if (!typeof(TRes).IsAssignableFrom(
Type
))
541
throw Contracts.Except($"ComponentCatalog cannot map name '{name}' and SignatureType '{sigType}' to {info.
Type
.Name}, already mapped to {infoCur.
Type
.Name}.");
741
.Where(info => info.SignatureTypes.Contains(typeSig) && typeBase.IsAssignableFrom(info.
Type
))
1012
if (!typeof(TRes).IsAssignableFrom(info.
Type
))