8 writes to PropertyInfo
Microsoft.Extensions.VectorData.Abstractions (2)
ProviderServices\CollectionModelBuilder.cs (1)
324property.PropertyInfo = clrProperty;
ProviderServices\PropertyModel.cs (1)
105PropertyInfo = propertyInfo;
Microsoft.Extensions.VectorData.Abstractions.Tests (6)
PropertyModelTests.cs (6)
84var property = new DataPropertyModel("test", typeof(string)) { PropertyInfo = propertyInfo }; 92var property = new DataPropertyModel("test", typeof(string)) { PropertyInfo = propertyInfo }; 100var property = new DataPropertyModel("test", typeof(byte[])) { PropertyInfo = propertyInfo }; 108var property = new DataPropertyModel("test", typeof(byte[])) { PropertyInfo = propertyInfo }; 116var property = new DataPropertyModel("test", typeof(int)) { PropertyInfo = propertyInfo }; 120var nullableProperty = new DataPropertyModel("test", typeof(int?)) { PropertyInfo = nullablePropertyInfo };
6 references to PropertyInfo
Microsoft.Extensions.VectorData.Abstractions (6)
ProviderServices\CollectionJsonModelBuilder.cs (1)
76if (property.PropertyInfo?.GetCustomAttribute<JsonPropertyNameAttribute>() is { } jsonPropertyNameAttribute)
ProviderServices\CollectionModelBuilder.cs (1)
360if (Options.UsesExternalSerializer && property.PropertyInfo is not null)
ProviderServices\PropertyModel.cs (4)
49/// Gets or sets the reflection <see cref="PropertyInfo"/> for the .NET property. 52/// The reflection <see cref="PropertyInfo"/> for the .NET property. 71/// when a <see cref="PropertyInfo"/> is available (that is, during POCO mapping); 86if (PropertyInfo is { } propertyInfo)