8 references to Knows
Microsoft.ML.Core.Tests (4)
UnitTests\TestCustomTypeRegister.cs (4)
271Assert.True(DataViewTypeManager.Knows(typeof(AlienBody))); 308Assert.True(DataViewTypeManager.Knows(typeof(AlienBody), new[] { f })); 326Assert.True(DataViewTypeManager.Knows(typeof(AlienBody), new Attribute[] { b, c })); 329Assert.Throws<ArgumentOutOfRangeException>(() => DataViewTypeManager.Knows(typeof(AlienBody), new Attribute[] { b, d }));
Microsoft.ML.Data (4)
Data\SchemaDefinition.cs (1)
434if (!DataViewTypeManager.Knows(dataType, customAttributes))
DataView\InternalSchemaDefinition.cs (1)
199if (!itemType.TryGetDataKind(out _) && !DataViewTypeManager.Knows(itemType, attributes))
DataView\TypedCursor.cs (1)
248if (!actualType.TryGetDataKind(out _) && !DataViewTypeManager.Knows(actualType, customAttributes))
Utils\ApiUtils.cs (1)
42t == typeof(DataViewRowId) || DataViewTypeManager.Knows(t, attributes))