5 writes to Name
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", }; 24Name = "Disabled Group",
3 references to Name
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
DefaultHtmlGenerator.cs (2)
1603if (optGroup.Name != null) 1605groupBuilder.MergeAttribute("label", optGroup.Name);
Rendering\MultiSelectList.cs (1)
232if (string.Equals(_groups[index].Name, groupName, StringComparison.CurrentCulture))