71 references to SimpleValueProvider
Microsoft.AspNetCore.Mvc.Core.Test (69)
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 (5)
16
bindingContext.ValueProvider = new
SimpleValueProvider
35
bindingContext.ValueProvider = new
SimpleValueProvider
114
bindingContext.ValueProvider = new
SimpleValueProvider
139
bindingContext.ValueProvider = new
SimpleValueProvider
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 (7)
37
bindingContext.ValueProvider = new
SimpleValueProvider
57
bindingContext.ValueProvider = new
SimpleValueProvider
195
bindingContext.ValueProvider = new
SimpleValueProvider
220
bindingContext.ValueProvider = new
SimpleValueProvider
241
bindingContext.ValueProvider = new
SimpleValueProvider
263
bindingContext.ValueProvider = new
SimpleValueProvider
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 (14)
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
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 (14)
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
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
();