5 instantiations of ArrayModelBinder
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\Binders\ArrayModelBinderTest.cs (5)
28
var binder = new
ArrayModelBinder
<int>(
55
var binder = new
ArrayModelBinder
<string>(
90
var binder = new
ArrayModelBinder
<string>(
139
var binder = new
ArrayModelBinder
<string>(
202
var binder = new
ArrayModelBinder
<int>(
18 references to ArrayModelBinder
Microsoft.AspNetCore.Mvc.Core (7)
ModelBinding\Binders\ArrayModelBinder.cs (6)
19
/// Creates a new <see cref="
ArrayModelBinder
{TElement}"/>.
31
/// Creates a new <see cref="
ArrayModelBinder
{TElement}"/>.
45
/// in <see cref="
ArrayModelBinder
{TElement}"/>.
56
/// Creates a new <see cref="
ArrayModelBinder
{TElement}"/>.
69
/// <para>This is the preferred <see cref="
ArrayModelBinder
{TElement}"/> constructor.</para>
73
/// in <see cref="
ArrayModelBinder
{TElement}"/>.
ModelBinding\Binders\ArrayModelBinderProvider.cs (1)
25
var binderType = typeof(
ArrayModelBinder
<>).MakeGenericType(elementType);
Microsoft.AspNetCore.Mvc.Core.Test (11)
ModelBinding\Binders\ArrayModelBinderProviderTest.cs (4)
48
Assert.IsType(typeof(
ArrayModelBinder
<>).MakeGenericType(modelType.GetElementType()), result);
68
var
binder = Assert.IsType<
ArrayModelBinder
<int>>(result);
98
Assert.IsType<
ArrayModelBinder
<int>>(result);
ModelBinding\Binders\ArrayModelBinderTest.cs (5)
28
var
binder = new ArrayModelBinder<int>(
55
var
binder = new ArrayModelBinder<string>(
90
var
binder = new ArrayModelBinder<string>(
139
var
binder = new ArrayModelBinder<string>(
202
var
binder = new ArrayModelBinder<int>(
ModelBinding\Metadata\DefaultBindingMetadataProviderTest.cs (2)
18
new ModelBinderAttribute() { BinderType = typeof(
ArrayModelBinder
<string>) },
42
new ModelBinderAttribute() { BinderType = typeof(
ArrayModelBinder
<string>) },