29 references to TestValueProvider
Microsoft.AspNetCore.Mvc.Core.Test (29)
ModelBinding\Binders\ArrayModelBinderTest.cs (3)
75
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
109
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
155
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
ModelBinding\Binders\CollectionModelBinderTest.cs (5)
261
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
295
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
336
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
369
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
411
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (4)
292
ValueProvider = new
TestValueProvider
(new Dictionary<string, object>()),
344
ValueProvider = new
TestValueProvider
(new Dictionary<string, object>()),
388
ValueProvider = new
TestValueProvider
(new Dictionary<string, object>()),
1108
var valueProvider = new
TestValueProvider
(new Dictionary<string, object>());
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (4)
352
ValueProvider = new
TestValueProvider
(new Dictionary<string, object>()),
404
ValueProvider = new
TestValueProvider
(new Dictionary<string, object>()),
448
ValueProvider = new
TestValueProvider
(new Dictionary<string, object>()),
1272
var valueProvider = new
TestValueProvider
(new Dictionary<string, object>());
ModelBinding\Binders\DictionaryModelBinderTest.cs (4)
446
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
481
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
530
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
575
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
ModelBinding\Binders\KeyValuePairModelBinderTest.cs (2)
160
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
190
bindingContext.ValueProvider = new
TestValueProvider
(new Dictionary<string, object>());
ModelBinding\ModelBindingHelperTest.cs (7)
66
var valueProvider = new
TestValueProvider
(values);
109
var valueProvider = new
TestValueProvider
(values);
187
var valueProvider = new
TestValueProvider
(values);
263
var valueProvider = new
TestValueProvider
(values);
314
var valueProvider = new
TestValueProvider
(values);
517
var valueProvider = new
TestValueProvider
(values);
585
var valueProvider = new
TestValueProvider
(values);