5 instantiations of SelectListGroup
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
HtmlHelper.cs (1)
1395group = new SelectListGroup() { Name = keyValuePair.Key.Group };
Rendering\MultiSelectList.cs (1)
241group = new SelectListGroup() { Name = groupName };
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
Rendering\HtmlHelperSelectTest.cs (3)
19private static readonly SelectListGroup GroupOne = new SelectListGroup { Name = "Group One", }; 20private static readonly SelectListGroup GroupTwo = new SelectListGroup { Name = "Group Two", }; 21private static readonly SelectListGroup DisabledGroup = new SelectListGroup
12 references to SelectListGroup
Microsoft.AspNetCore.Mvc.ViewFeatures (9)
DefaultHtmlGenerator.cs (1)
1599var optGroup = item.Group;
HtmlHelper.cs (2)
1382var groupList = new Dictionary<string, SelectListGroup>(); 1393if (!groupList.TryGetValue(keyValuePair.Key.Group, out var group))
Rendering\MultiSelectList.cs (4)
18private readonly IList<SelectListGroup> _groups; 101_groups = new List<SelectListGroup>(); 214private SelectListGroup GetGroup(object container) 229SelectListGroup 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)
67public SelectListGroup Group { get; set; }
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
Rendering\HtmlHelperSelectTest.cs (3)
19private static readonly SelectListGroup GroupOne = new SelectListGroup { Name = "Group One", }; 20private static readonly SelectListGroup GroupTwo = new SelectListGroup { Name = "Group Two", }; 21private static readonly SelectListGroup DisabledGroup = new SelectListGroup