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