20 writes to DataFormatString
HtmlGenerationWebSite (1)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (15)
DataAnnotationsMetadataProviderTest.cs (6)
43{ new DisplayFormatAttribute() { DataFormatString = "{0:G}" }, d => d.DisplayFormatString, "{0:G}" },
45new DisplayFormatAttribute() { DataFormatString = "{0:G}" },
50new DisplayFormatAttribute() { DataFormatString = "{0:G}", ApplyFormatInEditMode = true },
55new DisplayFormatAttribute() { DataFormatString = "{0:G}", ApplyFormatInEditMode = true },
60new DisplayFormatAttribute() { DataFormatString = "{0:G}", ApplyFormatInEditMode = true },
133DataFormatString = "Cool {0}",
ModelMetadataProviderTest.cs (9)
197new DisplayFormatAttribute { DataFormatString = "value" },
202new DisplayFormatAttribute { ApplyFormatInEditMode = true, DataFormatString = "value" },
206new DisplayFormatAttribute { ApplyFormatInEditMode = true, DataFormatString = "value" },
285new DisplayFormatAttribute { DataFormatString = "value" },
290new DisplayFormatAttribute { ApplyFormatInEditMode = true, DataFormatString = "value" },
549var displayFormat = new DisplayFormatAttribute { DataFormatString = expected, };
570DataFormatString = expected,
933DataFormatString = "value",
945DataFormatString = "value",
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
System.ComponentModel.Annotations (3)
5 references to DataFormatString
Microsoft.AspNetCore.Mvc.DataAnnotations (3)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (2)