4 writes to ConvertEmptyStringToNull
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
DataAnnotationsMetadataProviderTest.cs (1)
42
{ new DisplayFormatAttribute() {
ConvertEmptyStringToNull
= true }, d => d.ConvertEmptyStringToNull, true },
ModelMetadataProviderTest.cs (2)
274
new DisplayFormatAttribute {
ConvertEmptyStringToNull
= false },
279
new DisplayFormatAttribute {
ConvertEmptyStringToNull
= true },
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\DisplayFormatAttribute.cs (1)
22
ConvertEmptyStringToNull
= true; // default to true to match behavior in related components
1 reference to ConvertEmptyStringToNull
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsMetadataProvider.cs (1)
83
displayMetadata.ConvertEmptyStringToNull = displayFormatAttribute.
ConvertEmptyStringToNull
;