25 references to ApplicationModelProviderContext
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ApplicationModelFactory.cs (1)
37var context = new ApplicationModelProviderContext(controllerTypes);
Microsoft.AspNetCore.Mvc.Core.Test (19)
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (3)
30var context = new ApplicationModelProviderContext(new[] { controllerModel.ControllerType }); 65var context = new ApplicationModelProviderContext(new[] { controllerModel.ControllerType }); 108var context = new ApplicationModelProviderContext(new[] { controllerModel.ControllerType });
ApplicationModels\AuthorizationApplicationModelProviderTest.cs (1)
212var context = new ApplicationModelProviderContext(new[] { controllerType.GetTypeInfo() });
ApplicationModels\ConsumesConstraintForFormFileParameterConventionTest.cs (1)
60var context = new ApplicationModelProviderContext(new[] { type.GetTypeInfo() });
ApplicationModels\DefaultApplicationModelProviderTest.cs (13)
33var context = new ApplicationModelProviderContext(Array.Empty<TypeInfo>()); 48var context = new ApplicationModelProviderContext(new[] { typeof(ModelBinderController).GetTypeInfo(), typeof(ConventionallyRoutedController).GetTypeInfo() }); 69var context = new ApplicationModelProviderContext(new[] { typeInfo }); 121var context = new ApplicationModelProviderContext(new[] { typeInfo }); 173var context = new ApplicationModelProviderContext(new[] { typeInfo }); 217var context = new ApplicationModelProviderContext(new[] { typeInfo }); 265var context = new ApplicationModelProviderContext(new[] { typeInfo }); 293var context = new ApplicationModelProviderContext(new[] { typeInfo }); 319var context = new ApplicationModelProviderContext(new[] { typeInfo }); 339var context = new ApplicationModelProviderContext(new[] { typeInfo }); 359var context = new ApplicationModelProviderContext(new[] { typeInfo }); 1252var context = new ApplicationModelProviderContext(new[] { typeInfo }); 1268var context = new ApplicationModelProviderContext(new[] { typeInfo });
ApplicationModels\InferParameterBindingInfoConventionTest.cs (1)
912var context = new ApplicationModelProviderContext(new[] { type.GetTypeInfo() });
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsApplicationModelProviderTest.cs (1)
213var context = new ApplicationModelProviderContext(new[] { controllerType.GetTypeInfo() });
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
AuthorizeFilterIntegrationTest.cs (1)
167var context = new ApplicationModelProviderContext(new[] { controllerType.GetTypeInfo() });
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
Filters\AntiforgeryApplicationModelProviderTest.cs (1)
148var context = new ApplicationModelProviderContext(new[]
Filters\TempDataApplicationModelProviderTest.cs (1)
118var context = new ApplicationModelProviderContext(new[] { type.GetTypeInfo() });
Filters\ViewDataAttributeApplicationModelProviderTest.cs (1)
71var context = new ApplicationModelProviderContext(new[] { type.GetTypeInfo() });