25 references to ValueProviders
BasicWebSite (1)
ValueProviders\CustomValueProviderFactory.cs (1)
13
context.
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)
76
return new CompositeValueProvider(valueProviderFactoryContext.
ValueProviders
);
ModelBinding\FormFileValueProviderFactory.cs (1)
55
context.
ValueProviders
.Add(valueProvider);
ModelBinding\FormValueProviderFactory.cs (1)
59
context.
ValueProviders
.Add(valueProvider);
ModelBinding\JQueryFormValueProviderFactory.cs (1)
59
context.
ValueProviders
.Add(valueProvider);
ModelBinding\JQueryQueryStringValueProviderFactory.cs (1)
28
context.
ValueProviders
.Add(valueProvider);
ModelBinding\QueryStringValueProviderFactory.cs (1)
29
context.
ValueProviders
.Add(valueProvider);
ModelBinding\RouteValueProviderFactory.cs (1)
22
context.
ValueProviders
.Add(valueProvider);
Microsoft.AspNetCore.Mvc.Core.Test (14)
ModelBinding\FormFileValueProviderFactoryTest.cs (3)
25
Assert.Empty(context.
ValueProviders
);
39
Assert.Empty(context.
ValueProviders
);
56
context.
ValueProviders
,
ModelBinding\FormValueProviderFactoryTest.cs (2)
26
Assert.Empty(context.
ValueProviders
);
44
var valueProvider = Assert.IsType<FormValueProvider>(Assert.Single(context.
ValueProviders
));
ModelBinding\JQueryFormValueProviderFactoryTest.cs (4)
50
Assert.Empty(context.
ValueProviders
);
68
var valueProvider = Assert.IsType<JQueryFormValueProvider>(Assert.Single(context.
ValueProviders
));
112
var valueProvider = Assert.Single(context.
ValueProviders
);
128
var valueProvider = Assert.Single(context.
ValueProviders
);
ModelBinding\JQueryQueryStringValueProviderFactoryTest.cs (3)
78
var valueProvider = Assert.Single(context.
ValueProviders
);
94
Assert.Empty(context.
ValueProviders
);
108
var valueProvider = Assert.Single(context.
ValueProviders
);
ModelBinding\QueryStringValueProviderFactoryTest.cs (2)
26
Assert.Empty(factoryContext.
ValueProviders
);
45
var valueProvider = Assert.IsType<QueryStringValueProvider>(Assert.Single(factoryContext.
ValueProviders
));
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
SimpleValueProviderFactory.cs (1)
24
context.
ValueProviders
.Add(_valueProvider);