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