2 implementations of IBindingSourceValueProvider
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\BindingSourceValueProvider.cs (1)
26public abstract class BindingSourceValueProvider : IBindingSourceValueProvider
ModelBinding\CompositeValueProvider.cs (1)
16IBindingSourceValueProvider,
17 references to IBindingSourceValueProvider
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\BindingSourceValueProvider.cs (1)
20/// <see cref="BindingSourceValueProvider"/> implements <see cref="IBindingSourceValueProvider"/> and will
ModelBinding\CompositeValueProvider.cs (2)
169if (valueProvider is IBindingSourceValueProvider) 186if (valueProvider is IBindingSourceValueProvider bindingSourceValueProvider)
ModelBinding\DefaultModelBindingContext.cs (1)
315if (valueProvider is not IBindingSourceValueProvider bindingSourceValueProvider)
Microsoft.AspNetCore.Mvc.Core.Test (13)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
215var originalValueProvider = new Mock<IBindingSourceValueProvider>();
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
214var originalValueProvider = new Mock<IBindingSourceValueProvider>();
ModelBinding\CompositeValueProviderTest.cs (6)
19var provider = GetBindingSourceValueProvider(BindingSource.Query, BackingStore, culture: null); 196var doesNotImplement1 = GetMockValueProvider("One").Object; 197var doesNotImplement2 = GetMockValueProvider("Two").Object; 243private static Mock<IBindingSourceValueProvider> GetMockValueProvider(string bindingSourceId) 245var valueProvider = new Mock<IBindingSourceValueProvider>(MockBehavior.Strict); 253.Returns((IBindingSourceValueProvider)null);
ModelBinding\EnumerableValueProviderTest.cs (5)
255var provider = GetBindingSourceValueProvider(BindingSource.Query, BackingStore, culture: null); 275var provider = GetBindingSourceValueProvider(BindingSource.Query, BackingStore, culture: null); 290protected IBindingSourceValueProvider GetBindingSourceValueProvider( 295var provider = GetEnumerableValueProvider(bindingSource, values, culture) as IBindingSourceValueProvider;