2 types derived from ModelBinderProviderContext
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ModelBinderFactory.cs (1)
200
private sealed class DefaultModelBinderProviderContext :
ModelBinderProviderContext
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\TestModelBinderProviderContext.cs (1)
12
public class TestModelBinderProviderContext :
ModelBinderProviderContext
36 references to ModelBinderProviderContext
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\IModelBinderProvider.cs (3)
13
/// Creates a <see cref="IModelBinder"/> based on <see cref="
ModelBinderProviderContext
"/>.
15
/// <param name="context">The <see cref="
ModelBinderProviderContext
"/>.</param>
17
IModelBinder? GetBinder(
ModelBinderProviderContext
context);
Microsoft.AspNetCore.Mvc.Core (21)
ModelBinding\Binders\ArrayModelBinderProvider.cs (1)
18
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\BinderTypeModelBinderProvider.cs (1)
15
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\BodyModelBinderProvider.cs (1)
68
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\ByteArrayModelBinderProvider.cs (1)
17
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\CancellationTokenModelBinderProvider.cs (1)
18
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\CollectionModelBinderProvider.cs (2)
19
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
54
private static IModelBinder CreateInstance(
ModelBinderProviderContext
context, Type collectionType)
ModelBinding\Binders\ComplexObjectModelBinderProvider.cs (2)
17
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
41
private static IReadOnlyList<IModelBinder> GetParameterBinders(
ModelBinderProviderContext
context)
ModelBinding\Binders\ComplexTypeModelBinderProvider.cs (1)
18
public IModelBinder GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\DateTimeModelBinderProvider.cs (1)
20
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\DictionaryModelBinderProvider.cs (1)
19
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\EnumTypeModelBinderProvider.cs (1)
26
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\FloatingPointTypeModelBinderProvider.cs (1)
23
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\FormCollectionModelBinderProvider.cs (1)
19
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\FormFileModelBinderProvider.cs (1)
19
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\HeaderModelBinderProvider.cs (1)
17
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\KeyValuePairModelBinderProvider.cs (1)
17
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\ServicesModelBinderProvider.cs (1)
19
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\SimpleTypeModelBinderProvider.cs (1)
17
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\TryParseModelBinderProvider.cs (1)
15
public IModelBinder? GetBinder(
ModelBinderProviderContext
context)
Microsoft.AspNetCore.Mvc.Core.Test (9)
Controllers\ControllerBinderDelegateProviderTest.cs (1)
1319
.Setup(p => p.GetBinder(It.IsAny<
ModelBinderProviderContext
>()))
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
644
public IModelBinder GetBinder(
ModelBinderProviderContext
context)
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1582
public IModelBinder GetBinder(
ModelBinderProviderContext
context)
ModelBinding\ModelBinderFactoryTest.cs (3)
678
private readonly Func<
ModelBinderProviderContext
, IModelBinder> _factory;
680
public TestModelBinderProvider(Func<
ModelBinderProviderContext
, IModelBinder> factory)
687
public IModelBinder GetBinder(
ModelBinderProviderContext
context)
ModelBinding\ModelBinderProviderExtensionsTest.cs (2)
48
public IModelBinder GetBinder(
ModelBinderProviderContext
context)
56
public IModelBinder GetBinder(
ModelBinderProviderContext
context)
ModelBinding\ModelBindingHelperTest.cs (1)
773
.Setup(p => p.GetBinder(It.IsAny<
ModelBinderProviderContext
>()))
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
ActionParametersIntegrationTest.cs (1)
1083
public IModelBinder GetBinder(
ModelBinderProviderContext
context)
ExcludeBindingMetadataProviderIntegrationTest.cs (1)
131
public IModelBinder GetBinder(
ModelBinderProviderContext
context)
GenericModelBinderIntegrationTest.cs (1)
150
public IModelBinder GetBinder(
ModelBinderProviderContext
context)