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