20 references to ModelBinderController
Microsoft.AspNetCore.Mvc.Core.Test (20)
ApplicationModels\DefaultApplicationModelProviderTest.cs (20)
48var context = new ApplicationModelProviderContext(new[] { typeof(ModelBinderController).GetTypeInfo(), typeof(ConventionallyRoutedController).GetTypeInfo() });
57c => Assert.Equal(typeof(ModelBinderController).GetTypeInfo(), c.ControllerType));
67var typeInfo = typeof(ModelBinderController).GetTypeInfo();
80Assert.Equal(nameof(ModelBinderController.Bound), property.PropertyName);
89Assert.Equal(nameof(ModelBinderController.FormFile), property.PropertyName);
97Assert.Equal(nameof(ModelBinderController.Service), property.PropertyName);
106Assert.Equal(nameof(ModelBinderController.Unbound), property.PropertyName);
118var typeInfo = typeof(ModelBinderController).GetTypeInfo();
132Assert.Equal(nameof(ModelBinderController.Bound), property.PropertyName);
141Assert.Equal(nameof(ModelBinderController.FormFile), property.PropertyName);
149Assert.Equal(nameof(ModelBinderController.Service), property.PropertyName);
158Assert.Equal(nameof(ModelBinderController.Unbound), property.PropertyName);
171var typeInfo = typeof(ModelBinderController).GetTypeInfo();
180var action = Assert.Single(controllerModel.Actions, a => a.ActionMethod.Name == nameof(ModelBinderController.PostAction));
215var typeInfo = typeof(ModelBinderController).GetTypeInfo();
224var action = Assert.Single(controllerModel.Actions, a => a.ActionMethod.Name == nameof(ModelBinderController.FormFilesSequences));
263var typeInfo = typeof(ModelBinderController).GetTypeInfo();
272var action = Assert.Single(controllerModel.Actions, a => a.ActionName == nameof(ModelBinderController.PostAction1));
291var typeInfo = typeof(ModelBinderController).GetTypeInfo();
300var action = Assert.Single(controllerModel.Actions, a => a.ActionName == nameof(ModelBinderController.PostAction2));