Implemented interface member:
62 references to Add
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
AttributeDictionary.cs (1)
185Add(new KeyValuePair<string, string?>(key, value));
Rendering\TagBuilder.cs (1)
57Attributes.Add(tag);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (60)
AttributeDictionaryTest.cs (60)
35attributes.Add(new KeyValuePair<string, string>("zero", "0")); 36attributes.Add(new KeyValuePair<string, string>("one", "1")); 37attributes.Add(new KeyValuePair<string, string>("two", "2")); 68attributes.Add(new KeyValuePair<string, string>("zero", "0")); 69attributes.Add(new KeyValuePair<string, string>("one", "1")); 70attributes.Add(new KeyValuePair<string, string>("two", "2")); 86attributes.Add(new KeyValuePair<string, string>("zero", "0")); 87attributes.Add(new KeyValuePair<string, string>("one", "1")); 88attributes.Add(new KeyValuePair<string, string>("two", "2")); 103attributes.Add(new KeyValuePair<string, string>("zero", "0")); 104attributes.Add(new KeyValuePair<string, string>("one", "1")); 105attributes.Add(new KeyValuePair<string, string>("two", "2")); 120attributes.Add(new KeyValuePair<string, string>("zero", "0")); 121attributes.Add(new KeyValuePair<string, string>("one", "1")); 122attributes.Add(new KeyValuePair<string, string>("two", "2")); 137attributes.Add(new KeyValuePair<string, string>("zero", "0")); 138attributes.Add(new KeyValuePair<string, string>("one", "1")); 139attributes.Add(new KeyValuePair<string, string>("two", "2")); 154attributes.Add(new KeyValuePair<string, string>("zero", "0")); 155attributes.Add(new KeyValuePair<string, string>("one", "1")); 156attributes.Add(new KeyValuePair<string, string>("two", "2")); 191attributes.Add(new KeyValuePair<string, string>("zero", "0")); 192attributes.Add(new KeyValuePair<string, string>("one", "1")); 193attributes.Add(new KeyValuePair<string, string>("two", "2")); 213attributes.Add(new KeyValuePair<string, string>("zero", "0")); 214attributes.Add(new KeyValuePair<string, string>("one", "1")); 215attributes.Add(new KeyValuePair<string, string>("two", "2")); 235attributes.Add(new KeyValuePair<string, string>("zero", "0")); 236attributes.Add(new KeyValuePair<string, string>("one", "1")); 237attributes.Add(new KeyValuePair<string, string>("two", "2")); 258attributes.Add(new KeyValuePair<string, string>("zero", "0")); 259attributes.Add(new KeyValuePair<string, string>("one", "1")); 260attributes.Add(new KeyValuePair<string, string>("two", "2")); 280attributes.Add(new KeyValuePair<string, string>("zero", "0")); 281attributes.Add(new KeyValuePair<string, string>("one", "1")); 282attributes.Add(new KeyValuePair<string, string>("two", "2")); 303attributes.Add(new KeyValuePair<string, string>("zero", "0")); 304attributes.Add(new KeyValuePair<string, string>("one", "1")); 305attributes.Add(new KeyValuePair<string, string>("two", "2")); 323attributes.Add(new KeyValuePair<string, string>("zero", "0")); 324attributes.Add(new KeyValuePair<string, string>("one", "1")); 325attributes.Add(new KeyValuePair<string, string>("two", "2")); 343attributes.Add(new KeyValuePair<string, string>("zero", "0")); 344attributes.Add(new KeyValuePair<string, string>("one", "1")); 345attributes.Add(new KeyValuePair<string, string>("two", "2")); 365attributes.Add(new KeyValuePair<string, string>("zero", "0")); 366attributes.Add(new KeyValuePair<string, string>("one", "1")); 367attributes.Add(new KeyValuePair<string, string>("two", "2")); 382attributes.Add(new KeyValuePair<string, string>("zero", "0")); 383attributes.Add(new KeyValuePair<string, string>("one", "1")); 384attributes.Add(new KeyValuePair<string, string>("two", "2")); 396attributes.Add(new KeyValuePair<string, string>("zero", "0")); 397attributes.Add(new KeyValuePair<string, string>("one", "1")); 398attributes.Add(new KeyValuePair<string, string>("two", "2")); 418attributes.Add(new KeyValuePair<string, string>("zero", "0")); 419attributes.Add(new KeyValuePair<string, string>("one", "1")); 420attributes.Add(new KeyValuePair<string, string>("two", "2")); 441attributes.Add(new KeyValuePair<string, string>("zero", "0")); 442attributes.Add(new KeyValuePair<string, string>("one", "1")); 443attributes.Add(new KeyValuePair<string, string>("two", "2"));