Implemented interface members:
17 writes to
Microsoft.AspNetCore.Mvc.ViewFeatures (14)
DefaultDisplayTemplates.cs (4)
35inputTag.Attributes["disabled"] = "disabled"; 36inputTag.Attributes["type"] = "checkbox"; 39inputTag.Attributes["checked"] = "checked"; 51selectTag.Attributes["disabled"] = "disabled";
DefaultHtmlGenerator.cs (3)
1048tagBuilder.Attributes["value"] = item.Value; 1053tagBuilder.Attributes["selected"] = "selected"; 1058tagBuilder.Attributes["disabled"] = "disabled";
DefaultHtmlGeneratorExtensions.cs (2)
40tagBuilder.Attributes["action"] += "#" + fragment; 71tagBuilder.Attributes["action"] += "#" + fragment;
NameAndIdProvider.cs (1)
114tagBuilder.Attributes["id"] = sanitizedId;
Rendering\TagBuilder.cs (4)
129Attributes["class"] = currentValue + " " + value; 133Attributes["class"] = value; 229Attributes["id"] = sanitizedId; 283Attributes[key] = value;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
AttributeDictionaryTest.cs (3)
401attributes["one"] = "1!"; 423attributes["exciting!"] = "1!"; 446attributes["oNe"] = "1!";
5 references to
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
InputTagHelperTest.cs (2)
875.Callback(() => viewContext.FormContext.InvariantField(tagBuilder.Attributes["name"], usesInvariantFormatting)) 879? $"<input name=\"__Invariant\" type=\"hidden\" value=\"{tagBuilder.Attributes["name"]}\" />"
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DefaultHtmlGenerator.cs (1)
1173var suppliedTypeString = tagBuilder.Attributes["type"];
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
AttributeDictionaryTest.cs (2)
370var value = attributes["two"]; 387Assert.Throws<KeyNotFoundException>(() => attributes["nada"]);