22 instantiations of TestController
Microsoft.AspNetCore.Mvc.Core.Test (22)
48 references to TestController
Microsoft.AspNetCore.Mvc.Core.Test (48)
Controllers\ControllerBinderDelegateProviderTest.cs (48)
55var controller = new TestController();
92Name = nameof(TestController.RequiredButBindNeverProperty),
110var controller = new TestController();
164var controller = new TestController();
206var controller = new TestController();
256var controller = new TestController();
292var controller = new TestController();
341var controller = new TestController();
400var controller = new TestController();
446var controller = new TestController();
478Name = nameof(TestController.ValidatedProperty),
483var controller = new TestController();
526Name = nameof(TestController.ValidatedProperty),
531var controller = new TestController();
573Name = nameof(TestController.StringProperty),
578var controller = new TestController();
622Name = nameof(TestController.StringProperty),
628var controller = new TestController();
661Name = nameof(TestController.CollectionProperty),
667var controller = new TestController();
701Name = nameof(TestController.NonNullableProperty),
707var controller = new TestController();
748var controller = new TestController();
796Name = nameof(TestController.NullableProperty),
810var controller = new TestController();
859Name = nameof(TestController.NullableProperty),
873var controller = new TestController();
910nameof(TestController.ArrayProperty),
912controller => ((TestController)controller).ArrayProperty,
917nameof(TestController.CollectionProperty),
919controller => ((TestController)controller).CollectionProperty,
924nameof(TestController.NonCollectionProperty),
926controller => ((TestController)controller).NonCollectionProperty,
931nameof(TestController.NullCollectionProperty),
933controller => ((TestController)controller).NullCollectionProperty,
961var controller = new TestController();
992{ nameof(TestController.ArrayProperty), typeof(string[]) }, // Skipped
993{ nameof(TestController.CollectionProperty), typeof(List<string>) },
994{ nameof(TestController.NonCollectionProperty), typeof(Person) }, // Skipped
995{ nameof(TestController.NullCollectionProperty), typeof(List<string>) }, // Skipped
996{ nameof(TestController.StringProperty), typeof(string) },
1000{ nameof(TestController.ArrayProperty), new string[] { "hello", "world" } },
1001{ nameof(TestController.CollectionProperty), new List<string> { "hello", "world" } },
1002{ nameof(TestController.NonCollectionProperty), new Person { Name = "Fred" } },
1003{ nameof(TestController.NullCollectionProperty), new List<string> { "hello", "world" } },
1004{ nameof(TestController.StringProperty), "Hello" },
1020var controller = new TestController();
1274ControllerTypeInfo = typeof(TestController).GetTypeInfo(),