33 references to SelectListItem
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Rendering\SelectListItem.cs (1)
37
:
this
(text, value)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (32)
Rendering\HtmlHelperDropDownListExtensionsTest.cs (16)
14
new
SelectListItem
("Zero", "0"),
15
new
SelectListItem
("One", "1"),
16
new
SelectListItem
("Two", "2"),
17
new
SelectListItem
("Three", "3"),
77
new
SelectListItem
("Four", "4"),
78
new
SelectListItem
("Five", "5"),
102
new
SelectListItem
("Four", "4"),
103
new
SelectListItem
("Five", "5"),
129
new
SelectListItem
("Four", "4"),
130
new
SelectListItem
("Five", "5"),
177
new
SelectListItem
("Four", "4"),
178
new
SelectListItem
("Five", "5"),
203
new
SelectListItem
("Four", "4"),
204
new
SelectListItem
("Five", "5"),
229
new
SelectListItem
("Four", "4"),
230
new
SelectListItem
("Five", "5"),
Rendering\HtmlHelperListBoxExtensionsTest.cs (12)
14
new
SelectListItem
("Zero", "0"),
15
new
SelectListItem
("One", "1"),
16
new
SelectListItem
("Two", "2"),
17
new
SelectListItem
("Three", "3"),
53
new
SelectListItem
("Four", "4"),
54
new
SelectListItem
("Five", "5"),
78
new
SelectListItem
("Four", "4"),
79
new
SelectListItem
("Five", "5"),
125
new
SelectListItem
("Four", "4"),
126
new
SelectListItem
("Five", "5"),
150
new
SelectListItem
("Four", "4"),
151
new
SelectListItem
("Five", "5"),
Rendering\HtmlHelperSelectTest.cs (4)
29
new
SelectListItem
("Zero", "0"),
30
new
SelectListItem
("One", "1"),
31
new
SelectListItem
("Two", "2"),
32
new
SelectListItem
("Three", "3"),