1 write to Type
Microsoft.ML.Core (1)
ComponentModel\ComponentCatalog.cs (1)
211Type = attr.InstanceType;
7 references to Type
Microsoft.ML.Core (7)
ComponentModel\ComponentCatalog.cs (7)
256throw Contracts.Except("Can't instantiate class '{0}'", Type.Name); 288if (!typeof(TRes).IsAssignableFrom(Type)) 298if (!typeof(TRes).IsAssignableFrom(Type)) 541throw 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)) 1012if (!typeof(TRes).IsAssignableFrom(info.Type))