52 instantiations of TestModelBinderProviderContext
Microsoft.AspNetCore.Mvc.Core.Test (52)
ModelBinding\Binders\ArrayModelBinderProviderTest.cs (4)
18var context = new TestModelBinderProviderContext(modelType); 36var context = new TestModelBinderProviderContext(modelType); 57var context = new TestModelBinderProviderContext(typeof(int[])); 86var context = new TestModelBinderProviderContext(typeof(int[]));
ModelBinding\Binders\BinderTypeModelBinderProviderTest.cs (2)
14var context = new TestModelBinderProviderContext(typeof(Person)); 29var context = new TestModelBinderProviderContext(typeof(Person));
ModelBinding\Binders\BodyModelBinderProviderTest.cs (4)
31var context = new TestModelBinderProviderContext(typeof(Person)); 48var context = new TestModelBinderProviderContext(typeof(Person)); 61var context = new TestModelBinderProviderContext(typeof(Person)); 75var context = new TestModelBinderProviderContext(typeof(Person));
ModelBinding\Binders\ByteArrayModelBinderProviderTest.cs (2)
17var context = new TestModelBinderProviderContext(modelType); 31var context = new TestModelBinderProviderContext(typeof(byte[]));
ModelBinding\Binders\CancellationTokenModelBinderProviderTest.cs (2)
17var context = new TestModelBinderProviderContext(modelType); 31var context = new TestModelBinderProviderContext(typeof(CancellationToken));
ModelBinding\Binders\CollectionModelBinderProviderTest.cs (3)
21var context = new TestModelBinderProviderContext(modelType); 48var context = new TestModelBinderProviderContext(modelType); 72var context = new TestModelBinderProviderContext(typeof(List<int>));
ModelBinding\Binders\ComplexObjectModelBinderProviderTest.cs (3)
19var context = new TestModelBinderProviderContext(modelType); 34var context = new TestModelBinderProviderContext(typeof(Person)); 61var context = new TestModelBinderProviderContext(typeof(Person));
ModelBinding\Binders\ComplexTypeModelBinderProviderTest.cs (3)
19var context = new TestModelBinderProviderContext(modelType); 34var context = new TestModelBinderProviderContext(typeof(Person)); 61var context = new TestModelBinderProviderContext(typeof(Person));
ModelBinding\Binders\DateTimeModelBinderProviderTest.cs (3)
18var context = new TestModelBinderProviderContext(modelType); 31var context = new TestModelBinderProviderContext(typeof(DateTime)); 44var context = new TestModelBinderProviderContext(typeof(DateTime?));
ModelBinding\Binders\DictionaryModelBinderProviderTest.cs (2)
20var context = new TestModelBinderProviderContext(modelType); 37var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\EnumTypeModelBinderProviderTest.cs (3)
17var context = new TestModelBinderProviderContext(modelType); 33var context = new TestModelBinderProviderContext(modelType); 50var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\EnumTypeModelBinderTest.cs (1)
239var binderProviderContext = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\FloatingPointTypeModelBinderProviderTest.cs (5)
19var context = new TestModelBinderProviderContext(modelType); 39var context = new TestModelBinderProviderContext(modelType); 55var context = new TestModelBinderProviderContext(modelType); 71var context = new TestModelBinderProviderContext(modelType); 87var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\FormCollectionModelBinderProviderTest.cs (3)
17var context = new TestModelBinderProviderContext(modelType); 35var context = new TestModelBinderProviderContext(modelType); 49var context = new TestModelBinderProviderContext(typeof(IFormCollection));
ModelBinding\Binders\FormFileModelBinderProviderTest.cs (2)
20var context = new TestModelBinderProviderContext(modelType); 39var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\HeaderModelBinderProviderTest.cs (1)
180var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\KeyValuePairModelBinderProviderTest.cs (2)
20var context = new TestModelBinderProviderContext(modelType); 35var context = new TestModelBinderProviderContext(typeof(KeyValuePair<string, int>));
ModelBinding\Binders\ServicesModelBinderProviderTest.cs (3)
30var context = new TestModelBinderProviderContext(typeof(IPersonService)); 46var context = new TestModelBinderProviderContext(typeof(IPersonService)); 63var context = new TestModelBinderProviderContext(parameterInfo);
ModelBinding\Binders\SimpleTypeModelBinderProviderTest.cs (2)
19var context = new TestModelBinderProviderContext(modelType); 37var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\TryParseTypeModelBinderProviderTest.cs (2)
16var context = new TestModelBinderProviderContext(typeof(TestClass)); 30var context = new TestModelBinderProviderContext(typeof(TestClassWithTryParse));
60 references to TestModelBinderProviderContext
Microsoft.AspNetCore.Mvc.Core.Test (60)
ModelBinding\Binders\ArrayModelBinderProviderTest.cs (4)
18var context = new TestModelBinderProviderContext(modelType); 36var context = new TestModelBinderProviderContext(modelType); 57var context = new TestModelBinderProviderContext(typeof(int[])); 86var context = new TestModelBinderProviderContext(typeof(int[]));
ModelBinding\Binders\BinderTypeModelBinderProviderTest.cs (2)
14var context = new TestModelBinderProviderContext(typeof(Person)); 29var context = new TestModelBinderProviderContext(typeof(Person));
ModelBinding\Binders\BodyModelBinderProviderTest.cs (4)
31var context = new TestModelBinderProviderContext(typeof(Person)); 48var context = new TestModelBinderProviderContext(typeof(Person)); 61var context = new TestModelBinderProviderContext(typeof(Person)); 75var context = new TestModelBinderProviderContext(typeof(Person));
ModelBinding\Binders\ByteArrayModelBinderProviderTest.cs (2)
17var context = new TestModelBinderProviderContext(modelType); 31var context = new TestModelBinderProviderContext(typeof(byte[]));
ModelBinding\Binders\CancellationTokenModelBinderProviderTest.cs (2)
17var context = new TestModelBinderProviderContext(modelType); 31var context = new TestModelBinderProviderContext(typeof(CancellationToken));
ModelBinding\Binders\CollectionModelBinderProviderTest.cs (3)
21var context = new TestModelBinderProviderContext(modelType); 48var context = new TestModelBinderProviderContext(modelType); 72var context = new TestModelBinderProviderContext(typeof(List<int>));
ModelBinding\Binders\ComplexObjectModelBinderProviderTest.cs (3)
19var context = new TestModelBinderProviderContext(modelType); 34var context = new TestModelBinderProviderContext(typeof(Person)); 61var context = new TestModelBinderProviderContext(typeof(Person));
ModelBinding\Binders\ComplexTypeModelBinderProviderTest.cs (3)
19var context = new TestModelBinderProviderContext(modelType); 34var context = new TestModelBinderProviderContext(typeof(Person)); 61var context = new TestModelBinderProviderContext(typeof(Person));
ModelBinding\Binders\DateTimeModelBinderProviderTest.cs (3)
18var context = new TestModelBinderProviderContext(modelType); 31var context = new TestModelBinderProviderContext(typeof(DateTime)); 44var context = new TestModelBinderProviderContext(typeof(DateTime?));
ModelBinding\Binders\DictionaryModelBinderProviderTest.cs (2)
20var context = new TestModelBinderProviderContext(modelType); 37var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\EnumTypeModelBinderProviderTest.cs (3)
17var context = new TestModelBinderProviderContext(modelType); 33var context = new TestModelBinderProviderContext(modelType); 50var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\EnumTypeModelBinderTest.cs (1)
239var binderProviderContext = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\FloatingPointTypeModelBinderProviderTest.cs (5)
19var context = new TestModelBinderProviderContext(modelType); 39var context = new TestModelBinderProviderContext(modelType); 55var context = new TestModelBinderProviderContext(modelType); 71var context = new TestModelBinderProviderContext(modelType); 87var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\FormCollectionModelBinderProviderTest.cs (3)
17var context = new TestModelBinderProviderContext(modelType); 35var context = new TestModelBinderProviderContext(modelType); 49var context = new TestModelBinderProviderContext(typeof(IFormCollection));
ModelBinding\Binders\FormFileModelBinderProviderTest.cs (2)
20var context = new TestModelBinderProviderContext(modelType); 39var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\HeaderModelBinderProviderTest.cs (9)
34var context = GetTestModelBinderProviderContext(typeof(string)); 57var context = GetTestModelBinderProviderContext(modelType); 80var context = GetTestModelBinderProviderContext(modelType); 106var context = GetTestModelBinderProviderContext(modelType); 128var context = GetTestModelBinderProviderContext(modelType); 150var context = GetTestModelBinderProviderContext(modelType); 167var context = GetTestModelBinderProviderContext(typeof(string)); 178private TestModelBinderProviderContext GetTestModelBinderProviderContext(Type modelType) 180var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\KeyValuePairModelBinderProviderTest.cs (2)
20var context = new TestModelBinderProviderContext(modelType); 35var context = new TestModelBinderProviderContext(typeof(KeyValuePair<string, int>));
ModelBinding\Binders\ServicesModelBinderProviderTest.cs (3)
30var context = new TestModelBinderProviderContext(typeof(IPersonService)); 46var context = new TestModelBinderProviderContext(typeof(IPersonService)); 63var context = new TestModelBinderProviderContext(parameterInfo);
ModelBinding\Binders\SimpleTypeModelBinderProviderTest.cs (2)
19var context = new TestModelBinderProviderContext(modelType); 37var context = new TestModelBinderProviderContext(modelType);
ModelBinding\Binders\TryParseTypeModelBinderProviderTest.cs (2)
16var context = new TestModelBinderProviderContext(typeof(TestClass)); 30var context = new TestModelBinderProviderContext(typeof(TestClassWithTryParse));