88 instantiations of SimpleValueProvider
Microsoft.AspNetCore.Mvc.Core.Test (86)
ControllerBaseTest.cs (1)
3213
valueProvider ??= new
SimpleValueProvider
();
ModelBinding\Binders\ArrayModelBinderTest.cs (2)
16
var valueProvider = new
SimpleValueProvider
185
var valueProvider = new
SimpleValueProvider
ModelBinding\Binders\ByteArrayModelBinderTests.cs (4)
16
var valueProvider = new
SimpleValueProvider
()
40
var valueProvider = new
SimpleValueProvider
()
63
var valueProvider = new
SimpleValueProvider
()
85
var valueProvider = new
SimpleValueProvider
()
ModelBinding\Binders\CancellationTokenModelBinderTests.cs (1)
37
ValueProvider = new
SimpleValueProvider
(),
ModelBinding\Binders\CollectionModelBinderTest.cs (10)
19
var valueProvider = new
SimpleValueProvider
44
var valueProvider = new
SimpleValueProvider
69
var valueProvider = new
SimpleValueProvider
98
var valueProvider = new
SimpleValueProvider
129
var valueProvider = new
SimpleValueProvider
153
var valueProvider = new
SimpleValueProvider
178
var valueProvider = new
SimpleValueProvider
199
var context = GetModelBindingContext(new
SimpleValueProvider
());
214
var valueProvider = new
SimpleValueProvider
457
var bindingContext = GetModelBindingContext(new
SimpleValueProvider
());
ModelBinding\Binders\DateTimeModelBinderTest.cs (8)
16
bindingContext.ValueProvider = new
SimpleValueProvider
35
bindingContext.ValueProvider = new
SimpleValueProvider
58
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("en-GB"))
114
bindingContext.ValueProvider = new
SimpleValueProvider
139
bindingContext.ValueProvider = new
SimpleValueProvider
162
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("fr-FR"))
185
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("fr-FR"))
215
ValueProvider = new
SimpleValueProvider
() // empty
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
676
var valueProvider = new
SimpleValueProvider
();
ModelBinding\Binders\EnumTypeModelBinderTest.cs (1)
246
ValueProvider = new
SimpleValueProvider
()
ModelBinding\Binders\FloatingPointTypeModelBinderTestOfT.cs (15)
37
bindingContext.ValueProvider = new
SimpleValueProvider
57
bindingContext.ValueProvider = new
SimpleValueProvider
81
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("en-GB"))
105
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("en-GB"))
129
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("en-GB"))
153
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("en-GB"))
195
bindingContext.ValueProvider = new
SimpleValueProvider
220
bindingContext.ValueProvider = new
SimpleValueProvider
241
bindingContext.ValueProvider = new
SimpleValueProvider
263
bindingContext.ValueProvider = new
SimpleValueProvider
284
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("fr-FR"))
305
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("en-GB"))
326
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("en-GB"))
347
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("fr-FR"))
376
ValueProvider = new
SimpleValueProvider
() // empty
ModelBinding\Binders\KeyValuePairModelBinderTest.cs (5)
15
var valueProvider = new
SimpleValueProvider
();
40
var valueProvider = new
SimpleValueProvider
();
66
var valueProvider = new
SimpleValueProvider
();
88
var valueProvider = new
SimpleValueProvider
();
129
var valueProvider = new
SimpleValueProvider
();
ModelBinding\Binders\SimpleTypeModelBinderTest.cs (17)
22
bindingContext.ValueProvider = new
SimpleValueProvider
44
bindingContext.ValueProvider = new
SimpleValueProvider
96
bindingContext.ValueProvider = new
SimpleValueProvider
116
bindingContext.ValueProvider = new
SimpleValueProvider
140
bindingContext.ValueProvider = new
SimpleValueProvider
203
bindingContext.ValueProvider = new
SimpleValueProvider
223
bindingContext.ValueProvider = new
SimpleValueProvider
244
bindingContext.ValueProvider = new
SimpleValueProvider
267
bindingContext.ValueProvider = new
SimpleValueProvider
312
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("en-GB"))
340
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("fr-FR"))
361
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("en-GB"))
385
bindingContext.ValueProvider = new
SimpleValueProvider
406
bindingContext.ValueProvider = new
SimpleValueProvider
447
bindingContext.ValueProvider = new
SimpleValueProvider
470
bindingContext.ValueProvider = new
SimpleValueProvider
493
ValueProvider = new
SimpleValueProvider
() // empty
ModelBinding\Binders\TryParseTypeModelBinderTest.cs (17)
45
bindingContext.ValueProvider = new
SimpleValueProvider
65
bindingContext.ValueProvider = new
SimpleValueProvider
89
bindingContext.ValueProvider = new
SimpleValueProvider
150
bindingContext.ValueProvider = new
SimpleValueProvider
171
bindingContext.ValueProvider = new
SimpleValueProvider
194
bindingContext.ValueProvider = new
SimpleValueProvider
238
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("en-GB"))
266
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("fr-FR"))
287
bindingContext.ValueProvider = new
SimpleValueProvider
(new CultureInfo("en-GB"))
311
bindingContext.ValueProvider = new
SimpleValueProvider
332
bindingContext.ValueProvider = new
SimpleValueProvider
369
bindingContext.ValueProvider = new
SimpleValueProvider
392
bindingContext.ValueProvider = new
SimpleValueProvider
419
bindingContext.ValueProvider = new
SimpleValueProvider
442
bindingContext.ValueProvider = new
SimpleValueProvider
468
bindingContext.ValueProvider = new
SimpleValueProvider
498
ValueProvider = new
SimpleValueProvider
() // empty
ModelBinding\DefaultModelBindingContextTest.cs (1)
25
ValueProvider = new
SimpleValueProvider
(),
ModelBinding\ParameterBinderTest.cs (3)
562
new
SimpleValueProvider
(),
623
new
SimpleValueProvider
(),
691
new
SimpleValueProvider
(),
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
SimpleValueProviderFactory.cs (1)
12
_valueProvider = new
SimpleValueProvider
();
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ControllerTest.cs (1)
444
valueProvider = valueProvider ?? new
SimpleValueProvider
();
20 references to SimpleValueProvider
Microsoft.AspNetCore.Mvc.Core.Test (20)
ModelBinding\Binders\ArrayModelBinderTest.cs (2)
16
var
valueProvider = new SimpleValueProvider
185
var
valueProvider = new SimpleValueProvider
ModelBinding\Binders\ByteArrayModelBinderTests.cs (4)
16
var
valueProvider = new SimpleValueProvider()
40
var
valueProvider = new SimpleValueProvider()
63
var
valueProvider = new SimpleValueProvider()
85
var
valueProvider = new SimpleValueProvider()
ModelBinding\Binders\CollectionModelBinderTest.cs (8)
19
var
valueProvider = new SimpleValueProvider
44
var
valueProvider = new SimpleValueProvider
69
var
valueProvider = new SimpleValueProvider
98
var
valueProvider = new SimpleValueProvider
129
var
valueProvider = new SimpleValueProvider
153
var
valueProvider = new SimpleValueProvider
178
var
valueProvider = new SimpleValueProvider
214
var
valueProvider = new SimpleValueProvider
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
676
var
valueProvider = new SimpleValueProvider();
ModelBinding\Binders\KeyValuePairModelBinderTest.cs (5)
15
var
valueProvider = new SimpleValueProvider();
40
var
valueProvider = new SimpleValueProvider();
66
var
valueProvider = new SimpleValueProvider();
88
var
valueProvider = new SimpleValueProvider();
129
var
valueProvider = new SimpleValueProvider();