8 writes to ValueProviderFactories
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\ControllerActionInvokerProvider.cs (1)
69ValueProviderFactories = new CopyOnWriteList<IValueProviderFactory>(_valueProviderFactories)
Routing\ControllerRequestDelegateFactory.cs (1)
85ValueProviderFactories = new CopyOnWriteList<IValueProviderFactory>(_valueProviderFactories)
Microsoft.AspNetCore.Mvc.Core.Test (4)
ControllerBaseTest.cs (1)
3217ValueProviderFactories = new List<IValueProviderFactory> { new SimpleValueProviderFactory(valueProvider), },
Filters\MiddlewareFilterTest.cs (1)
432ValueProviderFactories = valueProviderFactories.ToList()
Infrastructure\ControllerActionInvokerTest.cs (2)
1413ValueProviderFactories = new IValueProviderFactory[0] 1766ValueProviderFactories = valueProviderFactories,
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
ModelBindingTestHelper.cs (1)
40ValueProviderFactories = new List<IValueProviderFactory>(options.Value.ValueProviderFactories),
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ControllerTest.cs (1)
448ValueProviderFactories = new[] { new SimpleValueProviderFactory(valueProvider), },
17 references to ValueProviderFactories
Microsoft.AspNetCore.Mvc.Core (7)
ControllerBase.cs (4)
2552var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(ControllerContext, ControllerContext.ValueProviderFactories); 2613var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(ControllerContext, ControllerContext.ValueProviderFactories); 2650var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(ControllerContext, ControllerContext.ValueProviderFactories); 2754var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(ControllerContext, ControllerContext.ValueProviderFactories);
Controllers\ControllerBinderDelegateProvider.cs (1)
54var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(controllerContext, controllerContext.ValueProviderFactories);
Infrastructure\ControllerActionInvoker.cs (1)
38: base(diagnosticListener, logger, actionContextAccessor, mapper, controllerContext, filters, controllerContext.ValueProviderFactories)
ModelBinding\CompositeValueProvider.cs (1)
49var factories = controllerContext.ValueProviderFactories;
Microsoft.AspNetCore.Mvc.Core.Test (9)
ControllerBaseTest.cs (1)
2701controller.ControllerContext.ValueProviderFactories.Add(valueProviderFactory.Object);
Controllers\ControllerBinderDelegateProviderTest.cs (3)
1038controllerContext.ValueProviderFactories.Add(new SimpleValueProviderFactory()); 1226controllerContext.ValueProviderFactories.Add(valueProviderFactory.Object); 1264context.ValueProviderFactories.Add(new SimpleValueProviderFactory());
Infrastructure\ControllerActionInvokerTest.cs (5)
223Assert.Equal(2, controllerContext.ValueProviderFactories.Count); 224Assert.Same(valueProviderFactory1, controllerContext.ValueProviderFactories[0]); 225Assert.Same(valueProviderFactory2, controllerContext.ValueProviderFactories[1]); 255Assert.Single(controllerContext.ValueProviderFactories); 256Assert.Same(valueProviderFactory2, controllerContext.ValueProviderFactories[0]);
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
BindPropertyIntegrationTest.cs (1)
232ValueProviderFactories = testContext.ValueProviderFactories,