4 writes to AttemptedValue
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\ModelStateDictionary.cs (3)
478modelState.AttemptedValue = attemptedValue; 855AttemptedValue = entry.AttemptedValue; 869AttemptedValue = null;
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelStateDictionaryTest.cs (1)
267entry.AttemptedValue = "attempted-value";
431 references to AttemptedValue
Microsoft.AspNetCore.Mvc.Abstractions (4)
ModelBinding\ModelStateDictionary.cs (4)
296errorMessage = messageProvider.NonPropertyAttemptedValueIsInvalidAccessor(entry.AttemptedValue!); 300errorMessage = messageProvider.AttemptedValueIsInvalidAccessor(entry.AttemptedValue!, name); 463/// Sets the of <see cref="ModelStateEntry.RawValue"/> and <see cref="ModelStateEntry.AttemptedValue"/> for 855AttemptedValue = entry.AttemptedValue;
Microsoft.AspNetCore.Mvc.Abstractions.Test (16)
ModelBinding\ModelStateDictionaryTest.cs (16)
280Assert.Equal(entry.AttemptedValue, actual.AttemptedValue); 567Assert.Equal("AttemptedValue1", item.AttemptedValue); 571Assert.Equal("AttemptedValue2", item.AttemptedValue); 599Assert.Null(item.AttemptedValue); 604Assert.Equal("AttemptedValue2", item.AttemptedValue); 640Assert.Equal("some value", modelState.AttemptedValue); 661Assert.Equal("some value", modelState.AttemptedValue); 1417Assert.Null(entry.Value.AttemptedValue); 1425Assert.Null(entry.Value.AttemptedValue); 1433Assert.Equal("value", entry.Value.AttemptedValue); 1441Assert.Null(entry.Value.AttemptedValue); 1539Assert.Null(value.AttemptedValue); 1546Assert.Null(value.AttemptedValue); 1553Assert.Equal("value", value.AttemptedValue); 1560Assert.Null(value.AttemptedValue);
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Binders\SimpleTypeModelBinderTest.cs (1)
327Assert.Equal("32,000", entry.Value.AttemptedValue);
ModelBinding\Binders\TryParseTypeModelBinderTest.cs (1)
253Assert.Equal("32,000", entry.Value.AttemptedValue);
Microsoft.AspNetCore.Mvc.IntegrationTests (406)
ActionParametersIntegrationTest.cs (6)
69Assert.Equal("SomeStreet", modelState[key].AttemptedValue); 118Assert.Equal("SomeStreet", state.AttemptedValue); 163Assert.Equal("SomeStreet", modelState[key].AttemptedValue); 249Assert.Equal("SomeStreet", modelState[key].AttemptedValue); 297Assert.Equal("SomeStreet", state.AttemptedValue); 340Assert.Equal("SomeStreet", modelState[key].AttemptedValue);
ArrayModelBinderIntegrationTest.cs (12)
45Assert.Equal("10", entry.AttemptedValue); 49Assert.Equal("11", entry.AttemptedValue); 89Assert.Equal("10", entry.AttemptedValue); 93Assert.Equal("11", entry.AttemptedValue); 129Assert.Equal("10", entry.AttemptedValue); 133Assert.Equal("11", entry.AttemptedValue); 205Assert.Equal("bill", entry.AttemptedValue); 209Assert.Equal("lang", entry.AttemptedValue); 250Assert.Equal("bill", entry.AttemptedValue); 254Assert.Equal("lang", entry.AttemptedValue); 291Assert.Equal("bill", entry.AttemptedValue); 295Assert.Equal("lang", entry.AttemptedValue);
BodyValidationIntegrationTests.cs (2)
479Assert.Null(entry.Value!.AttemptedValue); 589Assert.Null(state.AttemptedValue);
ByteArrayModelBinderIntegrationTest.cs (2)
65Assert.Equal(value, entry.Value.AttemptedValue); 145Assert.Equal(value, entry.Value.AttemptedValue);
CollectionModelBinderIntegrationTest.cs (14)
51Assert.Equal("10", entry.AttemptedValue); 55Assert.Equal("11", entry.AttemptedValue); 321Assert.Equal("10", entry.AttemptedValue); 325Assert.Equal("11", entry.AttemptedValue); 380Assert.Equal("10", entry.AttemptedValue); 384Assert.Equal("11", entry.AttemptedValue); 431Assert.Equal("10", entry.AttemptedValue); 435Assert.Equal("11", entry.AttemptedValue); 481Assert.Equal("10", entry.AttemptedValue); 486Assert.Equal("11", entry.AttemptedValue); 526Assert.Equal("10", entry.AttemptedValue); 530Assert.Equal("11", entry.AttemptedValue); 621Assert.Equal("Street1", entry.AttemptedValue); 625Assert.Equal("Street2", entry.AttemptedValue);
ComplexRecordIntegrationTest.cs (96)
77Assert.Equal("bill", entry.AttemptedValue); 127Assert.Equal("bill", entry.AttemptedValue); 178Assert.Equal("bill", entry.AttemptedValue); 232Assert.Equal("bill", entry.AttemptedValue); 281Assert.Equal("10", entry.AttemptedValue); 378Assert.Equal("bill", entry.AttemptedValue); 382Assert.Equal(ByteArrayEncoded, entry.AttemptedValue); 430Assert.Equal("bill", entry.AttemptedValue); 434Assert.Equal(ByteArrayEncoded, entry.AttemptedValue); 482Assert.Equal("bill", entry.AttemptedValue); 535Assert.Equal("bill", entry.AttemptedValue); 539Assert.Null(entry.AttemptedValue); // FormFile entries for body don't include original text. 588Assert.Equal("bill", entry.AttemptedValue); 592Assert.Null(entry.AttemptedValue); // FormFile entries don't include the model. 643Assert.Equal("bill", entry.AttemptedValue); 700Assert.Equal("10", entry.AttemptedValue); 802Assert.Equal("bill", entry.AttemptedValue); 806Assert.Equal("10", entry.AttemptedValue); 810Assert.Equal("11", entry.AttemptedValue); 857Assert.Equal("bill", entry.AttemptedValue); 861Assert.Equal("10", entry.AttemptedValue); 865Assert.Equal("11", entry.AttemptedValue); 912Assert.Equal("bill", entry.AttemptedValue); 1005Assert.Equal("bill", entry.AttemptedValue); 1009Assert.Equal("10", entry.AttemptedValue); 1013Assert.Equal("11", entry.AttemptedValue); 1060Assert.Equal("bill", entry.AttemptedValue); 1064Assert.Equal("10", entry.AttemptedValue); 1068Assert.Equal("11", entry.AttemptedValue); 1115Assert.Equal("bill", entry.AttemptedValue); 1208Assert.Equal("bill", entry.AttemptedValue); 1212Assert.Equal("key0", entry.AttemptedValue); 1216Assert.Equal("10", entry.AttemptedValue); 1263Assert.Equal("bill", entry.AttemptedValue); 1267Assert.Equal("key0", entry.AttemptedValue); 1271Assert.Equal("10", entry.AttemptedValue); 1318Assert.Equal("bill", entry.AttemptedValue); 1454Assert.Equal("Accord", entry.AttemptedValue); 1458Assert.Equal("camera_specs", entry.AttemptedValue); 1462Assert.Equal("camera_spec1.txt", entry.AttemptedValue); 1466Assert.Equal("camera_spec2.txt", entry.AttemptedValue); 1470Assert.Equal("tyre_specs", entry.AttemptedValue); 1474Assert.Equal("tyre_spec1.txt", entry.AttemptedValue); 1478Assert.Equal("tyre_spec2.txt", entry.AttemptedValue); 1561Assert.Equal("Accord", entry.AttemptedValue); 1565Assert.Equal("camera_specs", entry.AttemptedValue); 1569Assert.Equal("camera_spec1.txt", entry.AttemptedValue); 1573Assert.Equal("camera_spec2.txt", entry.AttemptedValue); 1577Assert.Equal("tyre_specs", entry.AttemptedValue); 1581Assert.Equal("tyre_spec1.txt", entry.AttemptedValue); 1585Assert.Equal("tyre_spec2.txt", entry.AttemptedValue); 1668Assert.Equal("Accord", entry.AttemptedValue); 1672Assert.Equal("camera_specs", entry.AttemptedValue); 1676Assert.Equal("camera_spec1.txt", entry.AttemptedValue); 1680Assert.Equal("camera_spec2.txt", entry.AttemptedValue); 1684Assert.Equal("tyre_specs", entry.AttemptedValue); 1688Assert.Equal("tyre_spec1.txt", entry.AttemptedValue); 1692Assert.Equal("tyre_spec2.txt", entry.AttemptedValue); 1742Assert.Equal("bill", entry.AttemptedValue); 1746Assert.Equal("key0", entry.AttemptedValue); 1750Assert.Equal("10", entry.AttemptedValue); 1797Assert.Equal("bill", entry.AttemptedValue); 1801Assert.Equal("key0", entry.AttemptedValue); 1805Assert.Equal("10", entry.AttemptedValue); 1873Assert.Equal("Accord", entry.AttemptedValue); 1877Assert.Equal("camera_specs", entry.AttemptedValue); 1881Assert.Equal("spec1", entry.AttemptedValue); 1885Assert.Equal("spec1.txt", entry.AttemptedValue); 1889Assert.Equal("spec2", entry.AttemptedValue); 1893Assert.Equal("spec2.txt", entry.AttemptedValue); 1993Assert.Null(entry.AttemptedValue); 2049Assert.Null(entry.AttemptedValue); 2103Assert.Equal("123", entry.AttemptedValue); 2107Assert.Null(entry.AttemptedValue); 2157Assert.Equal("123", entry.AttemptedValue); 2161Assert.Null(entry.AttemptedValue); 2215Assert.Equal("123", entry.AttemptedValue); 2219Assert.Null(entry.AttemptedValue); 2269Assert.Null(entry.AttemptedValue); 2321Assert.Null(entry.AttemptedValue); 2369Assert.Equal("abc", entry.AttemptedValue); 2417Assert.Null(entry.AttemptedValue); 2469Assert.Null(entry.AttemptedValue); 2516Assert.Equal("123", entry.AttemptedValue); 2566Assert.Equal(string.Empty, entry.AttemptedValue); 2617Assert.Equal(string.Empty, entry.Value.AttemptedValue); 2947Assert.Equal("1", entry.AttemptedValue); 2951Assert.Equal("location1", entry.AttemptedValue); 2955Assert.Equal("98052", entry.AttemptedValue); 2959Assert.Equal("10,20", entry.AttemptedValue); 3014Assert.Null(state.Value.AttemptedValue); 3087Assert.Equal("1,000.00", kvp.Value.AttemptedValue); 3095Assert.Equal("2000", kvp.Value.AttemptedValue); 3150Assert.Null(state.Value.AttemptedValue); 3212Assert.Null(kvp.Value.AttemptedValue); 3219Assert.Null(kvp.Value.AttemptedValue);
ComplexTypeIntegrationTestBase.cs (96)
114Assert.Equal("bill", entry.AttemptedValue); 164Assert.Equal("bill", entry.AttemptedValue); 215Assert.Equal("bill", entry.AttemptedValue); 264Assert.Equal("10", entry.AttemptedValue); 371Assert.Equal("bill", entry.AttemptedValue); 375Assert.Equal(ByteArrayEncoded, entry.AttemptedValue); 423Assert.Equal("bill", entry.AttemptedValue); 427Assert.Equal(ByteArrayEncoded, entry.AttemptedValue); 475Assert.Equal("bill", entry.AttemptedValue); 538Assert.Equal("bill", entry.AttemptedValue); 542Assert.Null(entry.AttemptedValue); // FormFile entries for body don't include original text. 591Assert.Equal("bill", entry.AttemptedValue); 595Assert.Null(entry.AttemptedValue); // FormFile entries don't include the model. 646Assert.Equal("bill", entry.AttemptedValue); 703Assert.Equal("10", entry.AttemptedValue); 810Assert.Equal("bill", entry.AttemptedValue); 814Assert.Equal("10", entry.AttemptedValue); 818Assert.Equal("11", entry.AttemptedValue); 865Assert.Equal("bill", entry.AttemptedValue); 869Assert.Equal("10", entry.AttemptedValue); 873Assert.Equal("11", entry.AttemptedValue); 920Assert.Equal("bill", entry.AttemptedValue); 1018Assert.Equal("bill", entry.AttemptedValue); 1022Assert.Equal("10", entry.AttemptedValue); 1026Assert.Equal("11", entry.AttemptedValue); 1073Assert.Equal("bill", entry.AttemptedValue); 1077Assert.Equal("10", entry.AttemptedValue); 1081Assert.Equal("11", entry.AttemptedValue); 1128Assert.Equal("bill", entry.AttemptedValue); 1226Assert.Equal("bill", entry.AttemptedValue); 1230Assert.Equal("key0", entry.AttemptedValue); 1234Assert.Equal("10", entry.AttemptedValue); 1281Assert.Equal("bill", entry.AttemptedValue); 1285Assert.Equal("key0", entry.AttemptedValue); 1289Assert.Equal("10", entry.AttemptedValue); 1336Assert.Equal("bill", entry.AttemptedValue); 1490Assert.Equal("Accord", entry.AttemptedValue); 1494Assert.Equal("camera_specs", entry.AttemptedValue); 1498Assert.Equal("camera_spec1.txt", entry.AttemptedValue); 1502Assert.Equal("camera_spec2.txt", entry.AttemptedValue); 1506Assert.Equal("tyre_specs", entry.AttemptedValue); 1510Assert.Equal("tyre_spec1.txt", entry.AttemptedValue); 1514Assert.Equal("tyre_spec2.txt", entry.AttemptedValue); 1597Assert.Equal("Accord", entry.AttemptedValue); 1601Assert.Equal("camera_specs", entry.AttemptedValue); 1605Assert.Equal("camera_spec1.txt", entry.AttemptedValue); 1609Assert.Equal("camera_spec2.txt", entry.AttemptedValue); 1613Assert.Equal("tyre_specs", entry.AttemptedValue); 1617Assert.Equal("tyre_spec1.txt", entry.AttemptedValue); 1621Assert.Equal("tyre_spec2.txt", entry.AttemptedValue); 1704Assert.Equal("Accord", entry.AttemptedValue); 1708Assert.Equal("camera_specs", entry.AttemptedValue); 1712Assert.Equal("camera_spec1.txt", entry.AttemptedValue); 1716Assert.Equal("camera_spec2.txt", entry.AttemptedValue); 1720Assert.Equal("tyre_specs", entry.AttemptedValue); 1724Assert.Equal("tyre_spec1.txt", entry.AttemptedValue); 1728Assert.Equal("tyre_spec2.txt", entry.AttemptedValue); 1783Assert.Equal("bill", entry.AttemptedValue); 1787Assert.Equal("key0", entry.AttemptedValue); 1791Assert.Equal("10", entry.AttemptedValue); 1838Assert.Equal("bill", entry.AttemptedValue); 1842Assert.Equal("key0", entry.AttemptedValue); 1846Assert.Equal("10", entry.AttemptedValue); 1892Assert.Equal("bill", entry.AttemptedValue); 2013Assert.Equal("Accord", entry.AttemptedValue); 2017Assert.Equal("camera_specs", entry.AttemptedValue); 2021Assert.Equal("spec1", entry.AttemptedValue); 2025Assert.Equal("spec1.txt", entry.AttemptedValue); 2029Assert.Equal("spec2", entry.AttemptedValue); 2033Assert.Equal("spec2.txt", entry.AttemptedValue); 2147Assert.Null(entry.AttemptedValue); 2202Assert.Null(entry.AttemptedValue); 2265Assert.Equal("123", entry.AttemptedValue); 2269Assert.Null(entry.AttemptedValue); 2319Assert.Equal("123", entry.AttemptedValue); 2323Assert.Null(entry.AttemptedValue); 2377Assert.Equal("123", entry.AttemptedValue); 2381Assert.Null(entry.AttemptedValue); 2435Assert.Null(entry.AttemptedValue); 2487Assert.Null(entry.AttemptedValue); 2535Assert.Equal("abc", entry.AttemptedValue); 2587Assert.Null(entry.AttemptedValue); 2639Assert.Null(entry.AttemptedValue); 2686Assert.Equal("123", entry.AttemptedValue); 2739Assert.Equal(string.Empty, entry.AttemptedValue); 2790Assert.Equal(string.Empty, entry.Value.AttemptedValue); 3151Assert.Equal("1", entry.AttemptedValue); 3155Assert.Equal("location1", entry.AttemptedValue); 3159Assert.Equal("98052", entry.AttemptedValue); 3163Assert.Equal("10,20", entry.AttemptedValue); 3222Assert.Null(state.Value.AttemptedValue); 3302Assert.Equal("1,000.00", kvp.Value.AttemptedValue); 3310Assert.Equal("2000", kvp.Value.AttemptedValue); 3372Assert.Null(state.Value.AttemptedValue); 3434Assert.Null(kvp.Value.AttemptedValue); 3441Assert.Null(kvp.Value.AttemptedValue);
DictionaryModelBinderIntegrationTest.cs (5)
49Assert.Equal("key0", entry.AttemptedValue); 53Assert.Equal("10", entry.AttemptedValue); 90Assert.Equal("10", entry.AttemptedValue); 128Assert.Equal("key0", entry.AttemptedValue); 133Assert.Equal("10", entry.AttemptedValue);
FormFileModelBindingIntegrationTest.cs (6)
513Assert.Null(modelStateEntry.AttemptedValue); 602Assert.Null(modelStateEntry.AttemptedValue); 651Assert.Null(entry.Value.AttemptedValue); 738Assert.Equal("Accord", entry.AttemptedValue); 813Assert.Equal("Accord", entry.AttemptedValue); 1025Assert.Equal("Accord", entry.AttemptedValue);
GenericModelBinderIntegrationTest.cs (14)
293Assert.Equal("key0", entry.AttemptedValue); 297Assert.Equal("10", entry.AttemptedValue); 338Assert.Equal("key0", entry.AttemptedValue); 342Assert.Equal("10", entry.AttemptedValue); 417Assert.Equal("key0", entry.AttemptedValue); 421Assert.Equal("10", entry.AttemptedValue); 461Assert.Equal("key0", entry.AttemptedValue); 465Assert.Equal("10", entry.AttemptedValue); 541Assert.Equal("key0", entry.AttemptedValue); 545Assert.Equal("10", entry.AttemptedValue); 549Assert.Equal("11", entry.AttemptedValue); 589Assert.Equal("key0", entry.AttemptedValue); 593Assert.Equal("10", entry.AttemptedValue); 597Assert.Equal("11", entry.AttemptedValue);
HeaderModelBinderIntegrationTest.cs (13)
105Assert.Equal("someValue", entry.Value.AttemptedValue); 147Assert.Equal("someValue", entry.Value.AttemptedValue); 194Assert.Equal("someValue", modelStateEntry.AttemptedValue); 241Assert.Equal("someValue", modelStateEntry.AttemptedValue); 301Assert.Equal(expectedAttemptedValue, entry.Value.AttemptedValue); 367Assert.Equal("first,second", entry.AttemptedValue); 376Assert.Equal("10.51,45.44", entry.AttemptedValue); 385Assert.Equal("10", entry.AttemptedValue); 394Assert.Equal("Sedan,Coupe", entry.AttemptedValue); 403Assert.Equal("10", entry.AttemptedValue); 412Assert.Equal("someValue", entry.AttemptedValue); 421Assert.Equal("300", entry.AttemptedValue); 430Assert.Equal("one, two, three", entry.AttemptedValue);
KeyValuePairModelBinderIntegrationTest.cs (19)
45Assert.Equal("key0", entry.AttemptedValue); 49Assert.Equal("10", entry.AttemptedValue); 86Assert.Equal("10", entry.AttemptedValue); 136Assert.Equal("10", entry.AttemptedValue); 168Assert.Equal("10", entry.AttemptedValue); 218Assert.Equal("10", entry.AttemptedValue); 263Assert.Equal("key0", entry.AttemptedValue); 267Assert.Equal("10", entry.AttemptedValue); 303Assert.Equal("key0", entry.AttemptedValue); 307Assert.Equal("10", entry.AttemptedValue); 382Assert.Equal("key0", entry.AttemptedValue); 386Assert.Equal("10", entry.AttemptedValue); 427Assert.Equal("key0", entry.AttemptedValue); 431Assert.Equal("10", entry.AttemptedValue); 468Assert.Equal("key0", entry.AttemptedValue); 472Assert.Equal("10", entry.AttemptedValue); 544Assert.Equal("key1", entry.AttemptedValue); 548Assert.Equal("value1", entry.AttemptedValue); 552Assert.Equal("value2", entry.AttemptedValue);
SimpleTypeModelBinderIntegrationTest.cs (14)
60Assert.Equal("1", modelState[key].AttemptedValue); 104Assert.Equal("1", modelState[key].AttemptedValue); 148Assert.Equal("someValue", modelState[key].AttemptedValue); 225Assert.Equal("32,000.99", modelState[key].AttemptedValue); 269Assert.Equal("2020-02-01", modelState[key].AttemptedValue); 354Assert.Equal("someValue,otherValue", modelState[key].AttemptedValue); 401Assert.Equal("abcd", entry.AttemptedValue); 461Assert.Equal("abcd", entry.AttemptedValue); 504Assert.Equal("", modelState[key].AttemptedValue); 558Assert.Equal(string.Empty, modelState[key].AttemptedValue); 601Assert.Equal(string.Empty, modelState[key].AttemptedValue); 701Assert.Equal("line 1,line 2", entry.AttemptedValue); 743Assert.Equal("someValue", modelState[key].AttemptedValue); 787Assert.Equal("someValue", modelState[key].AttemptedValue);
TryUpdateModelIntegrationTest.cs (24)
54Assert.Equal("SomeStreet", state.AttemptedValue); 88Assert.Equal("SomeStreet", state.AttemptedValue); 198Assert.Equal("SomeStreet", state.AttemptedValue); 239Assert.Equal("SomeStreet", state.AttemptedValue); 280Assert.Equal("SomeStreet", state.AttemptedValue); 341Assert.Equal("SomeStreet", state.AttemptedValue); 378Assert.Equal("SomeStreet", state.AttemptedValue); 407Assert.Equal("SomeStreet", state.AttemptedValue); 445Assert.Equal("SomeStreet", state.AttemptedValue); 493Assert.Equal("SomeStreet", state.AttemptedValue); 661Assert.Equal("SomeStreet", state.AttemptedValue); 695Assert.Equal("SomeStreet", state.AttemptedValue); 798Assert.Equal("SomeStreet", state.AttemptedValue); 834Assert.Equal("SomeStreet", state.AttemptedValue); 875Assert.Equal("SomeStreet", state.AttemptedValue); 926Assert.Equal("SomeStreet", state.AttemptedValue); 962Assert.Equal("SomeStreet", state.AttemptedValue); 1010Assert.Equal("SomeStreet", state.AttemptedValue); 1082Assert.Null(modelStateEntry.AttemptedValue); 1131Assert.Equal("SomeStreet", state.AttemptedValue); 1202Assert.Equal("98007", state.AttemptedValue); 1209Assert.Equal("SomeStreet", state.AttemptedValue); 1257Assert.Equal("SomeStreet", state.AttemptedValue); 1266Assert.Equal("98007", state.AttemptedValue);
ValidationIntegrationTests.cs (41)
195Assert.Equal("bill", entry.AttemptedValue); 233Assert.Null(entry.AttemptedValue); 284Assert.Equal("bill", entry.AttemptedValue); 322Assert.Null(entry.AttemptedValue); 375Assert.Equal("bill", entry.AttemptedValue); 416Assert.Null(entry.AttemptedValue); 467Assert.Equal("17", entry.AttemptedValue); 506Assert.Null(entry.AttemptedValue); 553Assert.Equal("17", entry.AttemptedValue); 594Assert.Null(entry.AttemptedValue); 711Assert.Equal("bill", entry.AttemptedValue); 748Assert.Equal("billybob", entry.AttemptedValue); 799Assert.Equal("bill", entry.AttemptedValue); 836Assert.Equal("billybob", entry.AttemptedValue); 934Assert.Equal("bill", entry.AttemptedValue); 971Assert.Equal("billybob", entry.AttemptedValue); 976Assert.Null(entry.AttemptedValue); 1041Assert.Equal("bill", entry.AttemptedValue); 1078Assert.Equal("billybob", entry.AttemptedValue); 1083Assert.Null(entry.AttemptedValue); 1129Assert.Equal("bill", entry.AttemptedValue); 1166Assert.Equal("billybob", entry.AttemptedValue); 1246Assert.Equal("bill", entry.AttemptedValue); 1286Assert.Equal("-123", entry.AttemptedValue); 1756Assert.Equal("US", entry.AttemptedValue); 1761Assert.Equal("45", entry.AttemptedValue); 1766Assert.Equal("46", entry.AttemptedValue); 2056Assert.Equal("1", entry.AttemptedValue); 2061Assert.Equal("2", entry.AttemptedValue); 2111Assert.Equal("1", entry.AttemptedValue); 2116Assert.Equal("2", entry.AttemptedValue); 2179Assert.Equal("1", entry.AttemptedValue); 2187Assert.Equal("2", entry.AttemptedValue); 2244Assert.Equal("key0", entry.AttemptedValue); 2249Assert.Equal("10", entry.AttemptedValue); 2291Assert.Equal("key0", entry.AttemptedValue); 2296Assert.Equal("value0", entry.AttemptedValue); 2344Assert.Equal("12", entry.AttemptedValue); 2398Assert.Equal("12", entry.AttemptedValue); 2448Assert.Equal("8", entry.AttemptedValue); 2500Assert.Equal("8", entry.AttemptedValue);
ValidationWithRecordIntegrationTests.cs (42)
183Assert.Equal("bill", entry.AttemptedValue); 221Assert.Null(entry.AttemptedValue); 265Assert.Equal("bill", entry.AttemptedValue); 303Assert.Null(entry.AttemptedValue); 347Assert.Equal("bill", entry.AttemptedValue); 388Assert.Null(entry.AttemptedValue); 432Assert.Equal("17", entry.AttemptedValue); 471Assert.Null(entry.AttemptedValue); 512Assert.Equal("17", entry.AttemptedValue); 553Assert.Null(entry.AttemptedValue); 594Assert.Equal("bill", entry.AttemptedValue); 631Assert.Equal("billybob", entry.AttemptedValue); 675Assert.Equal("bill", entry.AttemptedValue); 712Assert.Equal("billybob", entry.AttemptedValue); 803Assert.Equal("bill", entry.AttemptedValue); 840Assert.Equal("billybob", entry.AttemptedValue); 845Assert.Null(entry.AttemptedValue); 903Assert.Equal("bill", entry.AttemptedValue); 940Assert.Equal("billybob", entry.AttemptedValue); 945Assert.Null(entry.AttemptedValue); 987Assert.Equal("bill", entry.AttemptedValue); 1024Assert.Equal("billybob", entry.AttemptedValue); 1098Assert.Equal("bill", entry.AttemptedValue); 1138Assert.Equal("-123", entry.AttemptedValue); 1559Assert.Equal("US", entry.AttemptedValue); 1564Assert.Equal("45", entry.AttemptedValue); 1569Assert.Equal("46", entry.AttemptedValue); 1847Assert.Equal("1", entry.AttemptedValue); 1852Assert.Equal("2", entry.AttemptedValue); 1902Assert.Equal("1", entry.AttemptedValue); 1907Assert.Equal("2", entry.AttemptedValue); 1970Assert.Equal("1", entry.AttemptedValue); 1978Assert.Equal("2", entry.AttemptedValue); 2035Assert.Equal("key0", entry.AttemptedValue); 2040Assert.Equal("10", entry.AttemptedValue); 2082Assert.Equal("key0", entry.AttemptedValue); 2087Assert.Equal("value0", entry.AttemptedValue); 2135Assert.Equal("12", entry.AttemptedValue); 2186Assert.Equal("12", entry.AttemptedValue); 2236Assert.Equal("8", entry.AttemptedValue); 2286Assert.Equal("8", entry.AttemptedValue); 2448Assert.Equal("SomeValue", entry.AttemptedValue);
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
DefaultHtmlGenerator.cs (2)
635if (entry != null && entry.AttemptedValue != null) 637value = entry.AttemptedValue;
ValidationHelpers.cs (1)
39var attemptedValue = containingEntry.AttemptedValue ?? "null";