5 instantiations of SelectListGroup
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
HtmlHelper.cs (1)
1395
group = new
SelectListGroup
() { Name = keyValuePair.Key.Group };
Rendering\MultiSelectList.cs (1)
241
group = new
SelectListGroup
() { Name = groupName };
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
Rendering\HtmlHelperSelectTest.cs (3)
19
private static readonly SelectListGroup GroupOne = new
SelectListGroup
{ Name = "Group One", };
20
private static readonly SelectListGroup GroupTwo = new
SelectListGroup
{ Name = "Group Two", };
21
private static readonly SelectListGroup DisabledGroup = new
SelectListGroup
12 references to SelectListGroup
Microsoft.AspNetCore.Mvc.ViewFeatures (9)
DefaultHtmlGenerator.cs (1)
1599
var
optGroup = item.Group;
HtmlHelper.cs (2)
1382
var groupList = new Dictionary<string,
SelectListGroup
>();
1393
if (!groupList.TryGetValue(keyValuePair.Key.Group, out
var
group))
Rendering\MultiSelectList.cs (4)
18
private readonly IList<
SelectListGroup
> _groups;
101
_groups = new List<
SelectListGroup
>();
214
private
SelectListGroup
GetGroup(object container)
229
SelectListGroup
group = null;
Rendering\SelectListGroup.cs (1)
14
/// Gets or sets a value that indicates whether this <see cref="
SelectListGroup
"/> is disabled.
Rendering\SelectListItem.cs (1)
67
public
SelectListGroup
Group { get; set; }
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
Rendering\HtmlHelperSelectTest.cs (3)
19
private static readonly
SelectListGroup
GroupOne = new SelectListGroup { Name = "Group One", };
20
private static readonly
SelectListGroup
GroupTwo = new SelectListGroup { Name = "Group Two", };
21
private static readonly
SelectListGroup
DisabledGroup = new SelectListGroup