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