25 references to ValueProviders
BasicWebSite (1)
ValueProviders\CustomValueProviderFactory.cs (1)
13context.ValueProviders.Add(new CustomValueProvider(context));
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\IValueProviderFactory.cs (2)
13/// and adds it to <see cref="ValueProviderFactoryContext.ValueProviders"/> list. 17/// to <see cref="ValueProviderFactoryContext.ValueProviders"/> list if applicable.</returns>
Microsoft.AspNetCore.Mvc.Core (7)
ModelBinding\CompositeValueProvider.cs (1)
76return new CompositeValueProvider(valueProviderFactoryContext.ValueProviders);
ModelBinding\FormFileValueProviderFactory.cs (1)
55context.ValueProviders.Add(valueProvider);
ModelBinding\FormValueProviderFactory.cs (1)
59context.ValueProviders.Add(valueProvider);
ModelBinding\JQueryFormValueProviderFactory.cs (1)
59context.ValueProviders.Add(valueProvider);
ModelBinding\JQueryQueryStringValueProviderFactory.cs (1)
28context.ValueProviders.Add(valueProvider);
ModelBinding\QueryStringValueProviderFactory.cs (1)
29context.ValueProviders.Add(valueProvider);
ModelBinding\RouteValueProviderFactory.cs (1)
22context.ValueProviders.Add(valueProvider);
Microsoft.AspNetCore.Mvc.Core.Test (14)
ModelBinding\FormFileValueProviderFactoryTest.cs (3)
25Assert.Empty(context.ValueProviders); 39Assert.Empty(context.ValueProviders); 56context.ValueProviders,
ModelBinding\FormValueProviderFactoryTest.cs (2)
26Assert.Empty(context.ValueProviders); 44var valueProvider = Assert.IsType<FormValueProvider>(Assert.Single(context.ValueProviders));
ModelBinding\JQueryFormValueProviderFactoryTest.cs (4)
50Assert.Empty(context.ValueProviders); 68var valueProvider = Assert.IsType<JQueryFormValueProvider>(Assert.Single(context.ValueProviders)); 112var valueProvider = Assert.Single(context.ValueProviders); 128var valueProvider = Assert.Single(context.ValueProviders);
ModelBinding\JQueryQueryStringValueProviderFactoryTest.cs (3)
78var valueProvider = Assert.Single(context.ValueProviders); 94Assert.Empty(context.ValueProviders); 108var valueProvider = Assert.Single(context.ValueProviders);
ModelBinding\QueryStringValueProviderFactoryTest.cs (2)
26Assert.Empty(factoryContext.ValueProviders); 45var valueProvider = Assert.IsType<QueryStringValueProvider>(Assert.Single(factoryContext.ValueProviders));
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
SimpleValueProviderFactory.cs (1)
24context.ValueProviders.Add(_valueProvider);