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