6 writes to ValueProviderFactories
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
BindPropertyIntegrationTest.cs (1)
232ValueProviderFactories = testContext.ValueProviderFactories,
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageActionInvokerProvider.cs (1)
84ValueProviderFactories = new CopyOnWriteList<IValueProviderFactory>(_valueProviderFactories),
Infrastructure\PageRequestDelegateFactory.cs (1)
98pageContext.ValueProviderFactories = new CopyOnWriteList<IValueProviderFactory>(_valueProviderFactories);
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
Infrastructure\PageActionInvokerTest.cs (1)
1509ValueProviderFactories = valueProviderFactories?.ToList() ?? new List<IValueProviderFactory>(),
PageModelTest.cs (1)
1763ValueProviderFactories = new[] { valueProviderFactory.Object },
PageTest.cs (1)
1841ValueProviderFactories = new[] { valueProviderFactory.Object },
18 references to ValueProviderFactories
Microsoft.AspNetCore.Mvc.RazorPages (11)
Infrastructure\PageActionInvoker.cs (1)
52pageContext.ValueProviderFactories)
Infrastructure\PageBinderFactory.cs (2)
48var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(pageContext, pageContext.ValueProviderFactories); 129var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(pageContext, pageContext.ValueProviderFactories);
PageBase.cs (4)
1302var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(PageContext, PageContext.ValueProviderFactories); 1361var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(PageContext, PageContext.ValueProviderFactories); 1397var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(PageContext, PageContext.ValueProviderFactories); 1498var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(PageContext, PageContext.ValueProviderFactories);
PageModel.cs (4)
207var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(PageContext, PageContext.ValueProviderFactories); 266var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(PageContext, PageContext.ValueProviderFactories); 302var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(PageContext, PageContext.ValueProviderFactories); 403var (success, valueProvider) = await CompositeValueProvider.TryCreateAsync(PageContext, PageContext.ValueProviderFactories);
Microsoft.AspNetCore.Mvc.RazorPages.Test (7)
Infrastructure\PageActionInvokerProviderTest.cs (1)
144Assert.Empty(pageContext.ValueProviderFactories);
Infrastructure\PageActionInvokerTest.cs (5)
111Assert.Equal(2, pageContext.ValueProviderFactories.Count); 112Assert.Same(valueProviderFactory1, pageContext.ValueProviderFactories[0]); 113Assert.Same(valueProviderFactory2, pageContext.ValueProviderFactories[1]); 145Assert.Single(pageContext.ValueProviderFactories); 146Assert.Same(valueProviderFactory2, pageContext.ValueProviderFactories[0]);
Infrastructure\PageBinderFactoryTest.cs (1)
737pageContext.ValueProviderFactories.Add(valueProviderFactory.Object);