14 references to Name
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (11)
DataAnnotationsMetadataProviderTest.cs (11)
288
Assert.Equal("Name from DisplayNameAttribute", e.Key.
Name
);
1033
Assert.Equal("Loc_Two_Name", groupTwo.Key.
Name
);
1038
Assert.Equal("Loc_Two_Name", groupTwo.Key.
Name
);
1053
Assert.Equal("Loc_Two_Name en-US", groupTwo.Key.
Name
);
1058
Assert.Equal("Loc_Two_Name fr-FR", groupTwo.Key.
Name
);
1073
Assert.Equal("type three name en-US", groupThree.Key.
Name
);
1078
Assert.Equal("type three name fr-FR", groupThree.Key.
Name
);
1093
Assert.Equal("type three name en-US", groupThree.Key.
Name
);
1098
Assert.Equal("type three name fr-FR", groupThree.Key.
Name
);
1747
return x.Key.
Name
.Equals(y.Key.
Name
, StringComparison.Ordinal)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
HtmlHelper.cs (1)
1387
Text = keyValuePair.Key.
Name
,
ModelExplorerExtensions.cs (1)
59
return kvp.Key.
Name
;
TemplateBuilder.cs (1)
113
formattedModelValue = kvp.Key.
Name
;