17 references to Direction
Microsoft.ML.Data (14)
Data\SchemaDefinition.cs (7)
331internal static MemberInfo[] GetMemberInfos(Type userType, Direction direction) 341.Where(x => (((direction & Direction.Read) == Direction.Read && (x.CanRead && x.GetGetMethod() != null)) || 342((direction & Direction.Write) == Direction.Write && (x.CanWrite && x.GetSetMethod() != null))) && 418public static SchemaDefinition Create(Type userType, Direction direction = Direction.Both)
DataView\DataViewConstructionUtils.cs (4)
33? InternalSchemaDefinition.Create(typeof(TRow), SchemaDefinition.Direction.Read) 46? InternalSchemaDefinition.Create(typeof(TRow), SchemaDefinition.Direction.Read) 67var schemaDefinition = SchemaDefinition.Create(typeof(TRow), SchemaDefinition.Direction.Read); 115? InternalSchemaDefinition.Create(typeof(TRow), SchemaDefinition.Direction.Read)
DataView\InternalSchemaDefinition.cs (1)
205public static InternalSchemaDefinition Create(Type userType, SchemaDefinition.Direction direction)
DataView\TypedCursor.cs (2)
264memberInfos = SchemaDefinition.GetMemberInfos(userType, SchemaDefinition.Direction.Write); 321? InternalSchemaDefinition.Create(typeof(TRow), SchemaDefinition.Direction.Write)
Microsoft.ML.Transforms (3)
CustomMappingTransformer.cs (1)
58? InternalSchemaDefinition.Create(typeof(TDst), SchemaDefinition.Direction.Write)
StatefulCustomMappingTransformer.cs (2)
61AddedSchema = InternalSchemaDefinition.Create(typeof(TDst), SchemaDefinition.Direction.Write); 392var inputDef = InternalSchemaDefinition.Create(typeof(TSrc), SchemaDefinition.Direction.Read);