2 types derived from CollectionModelBinder
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Binders\ArrayModelBinder.cs (1)
16public class ArrayModelBinder<TElement> : CollectionModelBinder<TElement>
ModelBinding\Binders\DictionaryModelBinder.cs (1)
18public partial class DictionaryModelBinder<TKey, TValue> : CollectionModelBinder<KeyValuePair<TKey, TValue?>> where TKey : notnull
16 instantiations of CollectionModelBinder
Microsoft.AspNetCore.Mvc.Core.Test (16)
ModelBinding\Binders\CollectionModelBinderTest.cs (16)
25var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 51var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 78var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 109var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 135var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 161var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 177var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 198var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 213var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 241var binder = new CollectionModelBinder<string>( 276var binder = new CollectionModelBinder<string>( 316var binder = new CollectionModelBinder<string>( 353var binder = new CollectionModelBinder<string>( 395var binder = new CollectionModelBinder<string>( 443var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 465var modelBinder = new CollectionModelBinder<int>(elementBinder, NullLoggerFactory.Instance);
29 references to CollectionModelBinder
Microsoft.AspNetCore.Mvc.Core (10)
ModelBinding\Binders\ArrayModelBinder.cs (2)
44/// <see cref="CollectionModelBinder{TElement}.AllowValidatingTopLevelNodes"/> is always <see langword="true"/> 72/// <see cref="CollectionModelBinder{TElement}.AllowValidatingTopLevelNodes"/> is always <see langword="true"/>
ModelBinding\Binders\CollectionModelBinder.cs (4)
29/// Creates a new <see cref="CollectionModelBinder{TElement}"/>. 41/// Creates a new <see cref="CollectionModelBinder{TElement}"/>. 66/// Creates a new <see cref="CollectionModelBinder{TElement}"/>. 78/// <remarks>This is the preferred <see cref="CollectionModelBinder{TElement}"/> constructor.</remarks>
ModelBinding\Binders\CollectionModelBinderProvider.cs (1)
56var binderType = typeof(CollectionModelBinder<>).MakeGenericType(collectionType.GenericTypeArguments);
ModelBinding\Binders\DictionaryModelBinder.cs (2)
49/// <see cref="CollectionModelBinder{TElement}.AllowValidatingTopLevelNodes"/> is always 86/// <see cref="CollectionModelBinder{TElement}.AllowValidatingTopLevelNodes"/> is always
MvcOptions.cs (1)
303/// <see cref="CollectionModelBinder{TElement}"/> relies entirely on <see cref="IValueProvider"/>s, it cannot
Microsoft.AspNetCore.Mvc.Core.Test (19)
ModelBinding\Binders\CollectionModelBinderProviderTest.cs (3)
63Assert.IsType<CollectionModelBinder<int>>(result); 83var binder = Assert.IsType<CollectionModelBinder<int>>(result);
ModelBinding\Binders\CollectionModelBinderTest.cs (16)
25var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 51var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 78var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 109var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 135var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 161var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 177var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 198var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 213var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 241var binder = new CollectionModelBinder<string>( 276var binder = new CollectionModelBinder<string>( 316var binder = new CollectionModelBinder<string>( 353var binder = new CollectionModelBinder<string>( 395var binder = new CollectionModelBinder<string>( 443var binder = new CollectionModelBinder<int>(CreateIntBinder(), NullLoggerFactory.Instance); 465var modelBinder = new CollectionModelBinder<int>(elementBinder, NullLoggerFactory.Instance);