4 writes to RawValue
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\ModelStateDictionary.cs (3)
477modelState.RawValue = rawValue; 854RawValue = entry.RawValue; 868RawValue = null;
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelStateDictionaryTest.cs (1)
268entry.RawValue = "raw-value";
456 references to RawValue
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\ModelStateDictionary.cs (2)
463/// Sets the of <see cref="ModelStateEntry.RawValue"/> and <see cref="ModelStateEntry.AttemptedValue"/> for 854RawValue = entry.RawValue;
ModelBinding\ModelStateEntry.cs (1)
19/// Gets the set of values contained in <see cref="RawValue"/>, joined into a comma-separated string.
Microsoft.AspNetCore.Mvc.Abstractions.Test (24)
ModelBinding\ModelStateDictionaryTest.cs (24)
104Assert.Equal(value, result.RawValue); 279Assert.Equal(entry.RawValue, actual.RawValue); 354Assert.Equal("bar", newDictionary["foo"].RawValue); 568Assert.Equal("RawValue1", item.RawValue); 572Assert.Equal("RawValue2", item.RawValue); 600Assert.Null(item.RawValue); 605Assert.Equal("RawValue2", item.RawValue); 639Assert.Equal(new string[] { "some value" }, modelState.RawValue); 660Assert.Equal(new string[] { "some value" }, modelState.RawValue); 1416Assert.Null(entry.Value.RawValue); 1424Assert.Null(entry.Value.RawValue); 1432Assert.Equal("value", entry.Value.RawValue); 1440Assert.Null(entry.Value.RawValue); 1461Assert.Equal("value1", entry.Value.RawValue); 1466Assert.Equal("value2", entry.Value.RawValue); 1471Assert.Equal("value3", entry.Value.RawValue); 1538Assert.Null(value.RawValue); 1545Assert.Null(value.RawValue); 1552Assert.Equal("value", value.RawValue); 1559Assert.Null(value.RawValue); 1580Assert.Equal("value1", property1.RawValue); 1585Assert.Equal("value2", property2.RawValue); 1599Assert.Equal("value1", property.RawValue);
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Binders\ByteArrayModelBinderTests.cs (1)
33Assert.Equal(string.Empty, modelState.Value.RawValue);
Microsoft.AspNetCore.Mvc.IntegrationTests (426)
ActionParametersIntegrationTest.cs (6)
70Assert.Equal("SomeStreet", modelState[key].RawValue); 117Assert.Equal("SomeStreet", state.RawValue); 164Assert.Equal("SomeStreet", modelState[key].RawValue); 250Assert.Equal("SomeStreet", modelState[key].RawValue); 298Assert.Equal("SomeStreet", state.RawValue); 341Assert.Equal("SomeStreet", modelState[key].RawValue);
ArrayModelBinderIntegrationTest.cs (12)
46Assert.Equal("10", entry.RawValue); 50Assert.Equal("11", entry.RawValue); 90Assert.Equal("10", entry.RawValue); 94Assert.Equal("11", entry.RawValue); 130Assert.Equal("10", entry.RawValue); 134Assert.Equal("11", entry.RawValue); 206Assert.Equal("bill", entry.RawValue); 210Assert.Equal("lang", entry.RawValue); 251Assert.Equal("bill", entry.RawValue); 255Assert.Equal("lang", entry.RawValue); 292Assert.Equal("bill", entry.RawValue); 296Assert.Equal("lang", entry.RawValue);
BinderTypeBasedModelBinderIntegrationTest.cs (5)
119Assert.NotNull(modelState[key].RawValue); // Value is set by test model binder, no need to validate it. 186Assert.NotNull(entry.RawValue); // Value is set by test model binder, no need to validate it. 238Assert.NotNull(entry.RawValue); // Value is set by test model binder, no need to validate it. 274Assert.NotNull(modelState[key].RawValue); // Value is set by test model binder, no need to validate it. 313Assert.NotNull(modelState[key].RawValue); // Value is set by test model binder, no need to validate it.
BodyValidationIntegrationTests.cs (2)
480Assert.Null(entry.Value.RawValue); 590Assert.Null(state.RawValue);
ByteArrayModelBinderIntegrationTest.cs (2)
66Assert.Equal(value, entry.Value.RawValue); 146Assert.Equal(value, entry.Value.RawValue);
CollectionModelBinderIntegrationTest.cs (22)
52Assert.Equal("10", entry.RawValue); 56Assert.Equal("11", entry.RawValue); 322Assert.Equal("10", entry.RawValue); 326Assert.Equal("11", entry.RawValue); 329Assert.Null(entry.RawValue); 335Assert.Null(entry.RawValue); 381Assert.Equal("10", entry.RawValue); 385Assert.Equal("11", entry.RawValue); 388Assert.Null(entry.RawValue); 392Assert.Null(entry.RawValue); 432Assert.Equal("10", entry.RawValue); 436Assert.Equal("11", entry.RawValue); 439Assert.Null(entry.RawValue); 443Assert.Null(entry.RawValue); 482Assert.Equal("10", entry.RawValue); 487Assert.Equal("11", entry.RawValue); 527Assert.Equal("10", entry.RawValue); 531Assert.Equal("11", entry.RawValue); 534Assert.Null(entry.RawValue); 538Assert.Null(entry.RawValue); 622Assert.Equal("Street1", entry.RawValue); 626Assert.Equal("Street2", entry.RawValue);
ComplexRecordIntegrationTest.cs (95)
78Assert.Equal("bill", entry.RawValue); 128Assert.Equal("bill", entry.RawValue); 179Assert.Equal("bill", entry.RawValue); 233Assert.Equal("bill", entry.RawValue); 282Assert.Equal("10", entry.RawValue); 379Assert.Equal("bill", entry.RawValue); 383Assert.Equal(ByteArrayEncoded, entry.RawValue); 431Assert.Equal("bill", entry.RawValue); 435Assert.Equal(ByteArrayEncoded, entry.RawValue); 483Assert.Equal("bill", entry.RawValue); 536Assert.Equal("bill", entry.RawValue); 540Assert.Null(entry.RawValue); 589Assert.Equal("bill", entry.RawValue); 593Assert.Null(entry.RawValue); 644Assert.Equal("bill", entry.RawValue); 701Assert.Equal("10", entry.RawValue); 803Assert.Equal("bill", entry.RawValue); 807Assert.Equal("10", entry.RawValue); 811Assert.Equal("11", entry.RawValue); 858Assert.Equal("bill", entry.RawValue); 862Assert.Equal("10", entry.RawValue); 866Assert.Equal("11", entry.RawValue); 913Assert.Equal("bill", entry.RawValue); 1006Assert.Equal("bill", entry.RawValue); 1010Assert.Equal("10", entry.RawValue); 1014Assert.Equal("11", entry.RawValue); 1061Assert.Equal("bill", entry.RawValue); 1065Assert.Equal("10", entry.RawValue); 1069Assert.Equal("11", entry.RawValue); 1116Assert.Equal("bill", entry.RawValue); 1209Assert.Equal("bill", entry.RawValue); 1213Assert.Equal("key0", entry.RawValue); 1217Assert.Equal("10", entry.RawValue); 1264Assert.Equal("bill", entry.RawValue); 1268Assert.Equal("key0", entry.RawValue); 1272Assert.Equal("10", entry.RawValue); 1319Assert.Equal("bill", entry.RawValue); 1455Assert.Equal("Accord", entry.RawValue); 1459Assert.Equal("camera_specs", entry.RawValue); 1463Assert.Equal("camera_spec1.txt", entry.RawValue); 1467Assert.Equal("camera_spec2.txt", entry.RawValue); 1471Assert.Equal("tyre_specs", entry.RawValue); 1475Assert.Equal("tyre_spec1.txt", entry.RawValue); 1479Assert.Equal("tyre_spec2.txt", entry.RawValue); 1562Assert.Equal("Accord", entry.RawValue); 1566Assert.Equal("camera_specs", entry.RawValue); 1570Assert.Equal("camera_spec1.txt", entry.RawValue); 1574Assert.Equal("camera_spec2.txt", entry.RawValue); 1578Assert.Equal("tyre_specs", entry.RawValue); 1582Assert.Equal("tyre_spec1.txt", entry.RawValue); 1586Assert.Equal("tyre_spec2.txt", entry.RawValue); 1669Assert.Equal("Accord", entry.RawValue); 1673Assert.Equal("camera_specs", entry.RawValue); 1677Assert.Equal("camera_spec1.txt", entry.RawValue); 1681Assert.Equal("camera_spec2.txt", entry.RawValue); 1685Assert.Equal("tyre_specs", entry.RawValue); 1689Assert.Equal("tyre_spec1.txt", entry.RawValue); 1693Assert.Equal("tyre_spec2.txt", entry.RawValue); 1743Assert.Equal("bill", entry.RawValue); 1747Assert.Equal("key0", entry.RawValue); 1751Assert.Equal("10", entry.RawValue); 1798Assert.Equal("bill", entry.RawValue); 1802Assert.Equal("key0", entry.RawValue); 1806Assert.Equal("10", entry.RawValue); 1874Assert.Equal("Accord", entry.RawValue); 1878Assert.Equal("camera_specs", entry.RawValue); 1882Assert.Equal("spec1", entry.RawValue); 1886Assert.Equal("spec1.txt", entry.RawValue); 1890Assert.Equal("spec2", entry.RawValue); 1894Assert.Equal("spec2.txt", entry.RawValue); 1992Assert.Null(entry.RawValue); 2048Assert.Null(entry.RawValue); 2102Assert.Equal("123", entry.RawValue); 2106Assert.Null(entry.RawValue); 2156Assert.Equal("123", entry.RawValue); 2160Assert.Null(entry.RawValue); 2214Assert.Equal("123", entry.RawValue); 2218Assert.Null(entry.RawValue); 2268Assert.Null(entry.RawValue); 2320Assert.Null(entry.RawValue); 2368Assert.Equal("abc", entry.RawValue); 2416Assert.Null(entry.RawValue); 2468Assert.Null(entry.RawValue); 2515Assert.Equal("123", entry.RawValue); 2567Assert.Equal(string.Empty, entry.RawValue); 2948Assert.Equal("1", entry.RawValue); 2952Assert.Equal("location1", entry.RawValue); 2956Assert.Equal("98052", entry.RawValue); 2960Assert.Equal("10,20", entry.RawValue); 3016Assert.Null(state.Value.RawValue); 3089Assert.Equal("1,000.00", kvp.Value.RawValue); 3097Assert.Equal("2000", kvp.Value.RawValue); 3152Assert.Null(state.Value.RawValue); 3214Assert.Null(kvp.Value.RawValue); 3221Assert.Null(kvp.Value.RawValue);
ComplexTypeIntegrationTestBase.cs (95)
115Assert.Equal("bill", entry.RawValue); 165Assert.Equal("bill", entry.RawValue); 216Assert.Equal("bill", entry.RawValue); 265Assert.Equal("10", entry.RawValue); 372Assert.Equal("bill", entry.RawValue); 376Assert.Equal(ByteArrayEncoded, entry.RawValue); 424Assert.Equal("bill", entry.RawValue); 428Assert.Equal(ByteArrayEncoded, entry.RawValue); 476Assert.Equal("bill", entry.RawValue); 539Assert.Equal("bill", entry.RawValue); 543Assert.Null(entry.RawValue); 592Assert.Equal("bill", entry.RawValue); 596Assert.Null(entry.RawValue); 647Assert.Equal("bill", entry.RawValue); 704Assert.Equal("10", entry.RawValue); 811Assert.Equal("bill", entry.RawValue); 815Assert.Equal("10", entry.RawValue); 819Assert.Equal("11", entry.RawValue); 866Assert.Equal("bill", entry.RawValue); 870Assert.Equal("10", entry.RawValue); 874Assert.Equal("11", entry.RawValue); 921Assert.Equal("bill", entry.RawValue); 1019Assert.Equal("bill", entry.RawValue); 1023Assert.Equal("10", entry.RawValue); 1027Assert.Equal("11", entry.RawValue); 1074Assert.Equal("bill", entry.RawValue); 1078Assert.Equal("10", entry.RawValue); 1082Assert.Equal("11", entry.RawValue); 1129Assert.Equal("bill", entry.RawValue); 1227Assert.Equal("bill", entry.RawValue); 1231Assert.Equal("key0", entry.RawValue); 1235Assert.Equal("10", entry.RawValue); 1282Assert.Equal("bill", entry.RawValue); 1286Assert.Equal("key0", entry.RawValue); 1290Assert.Equal("10", entry.RawValue); 1337Assert.Equal("bill", entry.RawValue); 1491Assert.Equal("Accord", entry.RawValue); 1495Assert.Equal("camera_specs", entry.RawValue); 1499Assert.Equal("camera_spec1.txt", entry.RawValue); 1503Assert.Equal("camera_spec2.txt", entry.RawValue); 1507Assert.Equal("tyre_specs", entry.RawValue); 1511Assert.Equal("tyre_spec1.txt", entry.RawValue); 1515Assert.Equal("tyre_spec2.txt", entry.RawValue); 1598Assert.Equal("Accord", entry.RawValue); 1602Assert.Equal("camera_specs", entry.RawValue); 1606Assert.Equal("camera_spec1.txt", entry.RawValue); 1610Assert.Equal("camera_spec2.txt", entry.RawValue); 1614Assert.Equal("tyre_specs", entry.RawValue); 1618Assert.Equal("tyre_spec1.txt", entry.RawValue); 1622Assert.Equal("tyre_spec2.txt", entry.RawValue); 1705Assert.Equal("Accord", entry.RawValue); 1709Assert.Equal("camera_specs", entry.RawValue); 1713Assert.Equal("camera_spec1.txt", entry.RawValue); 1717Assert.Equal("camera_spec2.txt", entry.RawValue); 1721Assert.Equal("tyre_specs", entry.RawValue); 1725Assert.Equal("tyre_spec1.txt", entry.RawValue); 1729Assert.Equal("tyre_spec2.txt", entry.RawValue); 1784Assert.Equal("bill", entry.RawValue); 1788Assert.Equal("key0", entry.RawValue); 1792Assert.Equal("10", entry.RawValue); 1839Assert.Equal("bill", entry.RawValue); 1843Assert.Equal("key0", entry.RawValue); 1847Assert.Equal("10", entry.RawValue); 1893Assert.Equal("bill", entry.RawValue); 2014Assert.Equal("Accord", entry.RawValue); 2018Assert.Equal("camera_specs", entry.RawValue); 2022Assert.Equal("spec1", entry.RawValue); 2026Assert.Equal("spec1.txt", entry.RawValue); 2030Assert.Equal("spec2", entry.RawValue); 2034Assert.Equal("spec2.txt", entry.RawValue); 2146Assert.Null(entry.RawValue); 2201Assert.Null(entry.RawValue); 2264Assert.Equal("123", entry.RawValue); 2268Assert.Null(entry.RawValue); 2318Assert.Equal("123", entry.RawValue); 2322Assert.Null(entry.RawValue); 2376Assert.Equal("123", entry.RawValue); 2380Assert.Null(entry.RawValue); 2434Assert.Null(entry.RawValue); 2486Assert.Null(entry.RawValue); 2534Assert.Equal("abc", entry.RawValue); 2586Assert.Null(entry.RawValue); 2638Assert.Null(entry.RawValue); 2685Assert.Equal("123", entry.RawValue); 2740Assert.Equal(string.Empty, entry.RawValue); 3152Assert.Equal("1", entry.RawValue); 3156Assert.Equal("location1", entry.RawValue); 3160Assert.Equal("98052", entry.RawValue); 3164Assert.Equal("10,20", entry.RawValue); 3224Assert.Null(state.Value.RawValue); 3304Assert.Equal("1,000.00", kvp.Value.RawValue); 3312Assert.Equal("2000", kvp.Value.RawValue); 3374Assert.Null(state.Value.RawValue); 3436Assert.Null(kvp.Value.RawValue); 3443Assert.Null(kvp.Value.RawValue);
DictionaryModelBinderIntegrationTest.cs (5)
50Assert.Equal("key0", entry.RawValue); 54Assert.Equal("10", entry.RawValue); 91Assert.Equal("10", entry.RawValue); 129Assert.Equal("key0", entry.RawValue); 134Assert.Equal("10", entry.RawValue);
FormFileModelBindingIntegrationTest.cs (15)
69Assert.Null(modelState[key].RawValue); 119Assert.Null(value.RawValue); 170Assert.Null(value.RawValue); 233Assert.Null(value.RawValue); 241Assert.Equal("98056", value.RawValue); 323Assert.Equal("WestEnd", value.RawValue); 389Assert.Equal("WestEnd", value.RawValue); 451Assert.Equal("TestGroup", value.RawValue); 459Assert.Null(value.RawValue); 514Assert.Null(modelStateEntry.RawValue); 603Assert.Null(modelStateEntry.RawValue); 652Assert.Null(entry.Value.RawValue); 739Assert.Equal("Accord", entry.RawValue); 814Assert.Equal("Accord", entry.RawValue); 1026Assert.Equal("Accord", entry.RawValue);
GenericModelBinderIntegrationTest.cs (14)
294Assert.Equal("key0", entry.RawValue); 298Assert.Equal("10", entry.RawValue); 339Assert.Equal("key0", entry.RawValue); 343Assert.Equal("10", entry.RawValue); 418Assert.Equal("key0", entry.RawValue); 422Assert.Equal("10", entry.RawValue); 462Assert.Equal("key0", entry.RawValue); 466Assert.Equal("10", entry.RawValue); 542Assert.Equal("key0", entry.RawValue); 546Assert.Equal("10", entry.RawValue); 550Assert.Equal("11", entry.RawValue); 590Assert.Equal("key0", entry.RawValue); 594Assert.Equal("10", entry.RawValue); 598Assert.Equal("11", entry.RawValue);
HeaderModelBinderIntegrationTest.cs (13)
106Assert.Equal("someValue", entry.Value.RawValue); 148Assert.Equal("someValue", entry.Value.RawValue); 195Assert.Equal("someValue", modelStateEntry.RawValue); 242Assert.Equal("someValue", modelStateEntry.RawValue); 302Assert.Equal(expectedRawValue, entry.Value.RawValue); 368Assert.Equal(new[] { "first", "second" }, entry.RawValue); 377Assert.Equal(new[] { "10.51", "45.44" }, entry.RawValue); 386Assert.Equal("10", entry.RawValue); 395Assert.Equal(new[] { "Sedan", "Coupe" }, entry.RawValue); 404Assert.Equal("10", entry.RawValue); 413Assert.Equal("someValue", entry.RawValue); 422Assert.Equal("300", entry.RawValue); 431Assert.Equal("one, two, three", entry.RawValue);
KeyValuePairModelBinderIntegrationTest.cs (19)
46Assert.Equal("key0", entry.RawValue); 50Assert.Equal("10", entry.RawValue); 87Assert.Equal("10", entry.RawValue); 137Assert.Equal("10", entry.RawValue); 169Assert.Equal("10", entry.RawValue); 219Assert.Equal("10", entry.RawValue); 264Assert.Equal("key0", entry.RawValue); 268Assert.Equal("10", entry.RawValue); 304Assert.Equal("key0", entry.RawValue); 308Assert.Equal("10", entry.RawValue); 383Assert.Equal("key0", entry.RawValue); 387Assert.Equal("10", entry.RawValue); 428Assert.Equal("key0", entry.RawValue); 432Assert.Equal("10", entry.RawValue); 469Assert.Equal("key0", entry.RawValue); 473Assert.Equal("10", entry.RawValue); 545Assert.Equal("key1", entry.RawValue); 549Assert.Equal("value1", entry.RawValue); 553Assert.Equal("value2", entry.RawValue);
SimpleTypeModelBinderIntegrationTest.cs (14)
61Assert.Equal("1", modelState[key].RawValue); 105Assert.Equal("1", modelState[key].RawValue); 149Assert.Equal("someValue", modelState[key].RawValue); 226Assert.Equal("32,000.99", modelState[key].RawValue); 270Assert.Equal("2020-02-01", modelState[key].RawValue); 355Assert.Equal(new string[] { "someValue", "otherValue" }, modelState[key].RawValue); 400Assert.Equal("abcd", entry.RawValue); 460Assert.Equal("abcd", entry.RawValue); 505Assert.Equal("", modelState[key].RawValue); 559Assert.Equal(string.Empty, modelState[key].RawValue); 602Assert.Equal(string.Empty, modelState[key].RawValue); 702Assert.Equal(new[] { "line 1", "line 2" }, entry.RawValue); 744Assert.Equal("someValue", modelState[key].RawValue); 788Assert.Equal("someValue", modelState[key].RawValue);
TryUpdateModelIntegrationTest.cs (24)
55Assert.Equal("SomeStreet", state.RawValue); 89Assert.Equal("SomeStreet", state.RawValue); 199Assert.Equal("SomeStreet", state.RawValue); 240Assert.Equal("SomeStreet", state.RawValue); 281Assert.Equal("SomeStreet", state.RawValue); 342Assert.Equal("SomeStreet", state.RawValue); 377Assert.Equal("SomeStreet", state.RawValue); 406Assert.Equal("SomeStreet", state.RawValue); 446Assert.Equal("SomeStreet", state.RawValue); 494Assert.Equal("SomeStreet", state.RawValue); 662Assert.Equal("SomeStreet", state.RawValue); 696Assert.Equal("SomeStreet", state.RawValue); 799Assert.Equal("SomeStreet", state.RawValue); 835Assert.Equal("SomeStreet", state.RawValue); 876Assert.Equal("SomeStreet", state.RawValue); 927Assert.Equal("SomeStreet", state.RawValue); 963Assert.Equal("SomeStreet", state.RawValue); 1011Assert.Equal("SomeStreet", state.RawValue); 1083Assert.Null(modelStateEntry.RawValue); 1132Assert.Equal("SomeStreet", state.RawValue); 1203Assert.Equal("98007", state.RawValue); 1210Assert.Equal("SomeStreet", state.RawValue); 1258Assert.Equal("SomeStreet", state.RawValue); 1267Assert.Equal("98007", state.RawValue);
ValidationIntegrationTests.cs (41)
196Assert.Equal("bill", entry.RawValue); 232Assert.Null(entry.RawValue); 285Assert.Equal("bill", entry.RawValue); 321Assert.Null(entry.RawValue); 376Assert.Equal("bill", entry.RawValue); 415Assert.Null(entry.RawValue); 468Assert.Equal("17", entry.RawValue); 505Assert.Null(entry.RawValue); 554Assert.Equal("17", entry.RawValue); 593Assert.Null(entry.RawValue); 712Assert.Equal("bill", entry.RawValue); 749Assert.Equal("billybob", entry.RawValue); 800Assert.Equal("bill", entry.RawValue); 837Assert.Equal("billybob", entry.RawValue); 935Assert.Equal("bill", entry.RawValue); 972Assert.Equal("billybob", entry.RawValue); 975Assert.Null(entry.RawValue); 1042Assert.Equal("bill", entry.RawValue); 1079Assert.Equal("billybob", entry.RawValue); 1082Assert.Null(entry.RawValue); 1130Assert.Equal("bill", entry.RawValue); 1167Assert.Equal("billybob", entry.RawValue); 1247Assert.Equal("bill", entry.RawValue); 1287Assert.Equal("-123", entry.RawValue); 1757Assert.Equal("US", entry.RawValue); 1762Assert.Equal("45", entry.RawValue); 1767Assert.Equal("46", entry.RawValue); 2057Assert.Equal("1", entry.RawValue); 2062Assert.Equal("2", entry.RawValue); 2112Assert.Equal("1", entry.RawValue); 2117Assert.Equal("2", entry.RawValue); 2180Assert.Equal("1", entry.RawValue); 2188Assert.Equal("2", entry.RawValue); 2245Assert.Equal("key0", entry.RawValue); 2250Assert.Equal("10", entry.RawValue); 2292Assert.Equal("key0", entry.RawValue); 2297Assert.Equal("value0", entry.RawValue); 2345Assert.Equal("12", entry.RawValue); 2399Assert.Equal("12", entry.RawValue); 2449Assert.Equal("8", entry.RawValue); 2501Assert.Equal("8", entry.RawValue);
ValidationWithRecordIntegrationTests.cs (42)
184Assert.Equal("bill", entry.RawValue); 220Assert.Null(entry.RawValue); 266Assert.Equal("bill", entry.RawValue); 302Assert.Null(entry.RawValue); 348Assert.Equal("bill", entry.RawValue); 387Assert.Null(entry.RawValue); 433Assert.Equal("17", entry.RawValue); 470Assert.Null(entry.RawValue); 513Assert.Equal("17", entry.RawValue); 552Assert.Null(entry.RawValue); 595Assert.Equal("bill", entry.RawValue); 632Assert.Equal("billybob", entry.RawValue); 676Assert.Equal("bill", entry.RawValue); 713Assert.Equal("billybob", entry.RawValue); 804Assert.Equal("bill", entry.RawValue); 841Assert.Equal("billybob", entry.RawValue); 844Assert.Null(entry.RawValue); 904Assert.Equal("bill", entry.RawValue); 941Assert.Equal("billybob", entry.RawValue); 944Assert.Null(entry.RawValue); 988Assert.Equal("bill", entry.RawValue); 1025Assert.Equal("billybob", entry.RawValue); 1099Assert.Equal("bill", entry.RawValue); 1139Assert.Equal("-123", entry.RawValue); 1560Assert.Equal("US", entry.RawValue); 1565Assert.Equal("45", entry.RawValue); 1570Assert.Equal("46", entry.RawValue); 1848Assert.Equal("1", entry.RawValue); 1853Assert.Equal("2", entry.RawValue); 1903Assert.Equal("1", entry.RawValue); 1908Assert.Equal("2", entry.RawValue); 1971Assert.Equal("1", entry.RawValue); 1979Assert.Equal("2", entry.RawValue); 2036Assert.Equal("key0", entry.RawValue); 2041Assert.Equal("10", entry.RawValue); 2083Assert.Equal("key0", entry.RawValue); 2088Assert.Equal("value0", entry.RawValue); 2136Assert.Equal("12", entry.RawValue); 2187Assert.Equal("12", entry.RawValue); 2237Assert.Equal("8", entry.RawValue); 2287Assert.Equal("8", entry.RawValue); 2449Assert.Equal("SomeValue", entry.RawValue);
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
DefaultHtmlGenerator.cs (2)
1066if (viewContext.ViewData.ModelState.TryGetValue(key, out var entry) && entry.RawValue != null) 1068return ModelBindingHelper.ConvertTo(entry.RawValue, destinationType, culture: null);