aspnetcore/test/Microsoft.AspNetCore.Mvc.Ra...
Doug Bunting 5e245da326
Add compatibility switch controlling parameter metadata and top-level validation
- #7413 part 1 of 2
- made all `ModelMetadataProvider` and `ObjectModelValidator`-specific code conditional
  - fortunately, `MvcOptions` easy to get; affected code is primarily `internal` or pub-`Internal`
  - remove unnecessary `ModelMetadataProvider` use in `ApiBehaviorApplicationModelProvider`
- run integration and functional tests with `CompatibilityVersion.Version_2_1`
  - functional test change depends on @javiercn's recent #7541 fix
  - remove test code now redundantly turning compatibility switches on

nits:
- correct spelling errors in `CompatibilitySwitch`
- take VS suggestions, mostly in test code
- rename methods in `ControllerBinderDelegateProviderTest` to match current API
- slightly refactor in `ApiBehaviorApplicationModelProvider`
2018-03-26 12:29:04 -07:00
..
ApplicationModels
DependencyInjection Add PageConvention overloads for areas 2018-01-18 08:21:21 -08:00
Infrastructure Add DeclaredModelType to Razor pages 2018-01-25 16:00:54 -08:00
Internal Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
Microsoft.AspNetCore.Mvc.RazorPages.Test.csproj
PageModelTest.cs Marked PageArgumentBinder type as Obsolete 2018-03-19 11:50:20 -07:00
PageTest.cs Add support for BadRequest in RazorPages (#7097) 2017-12-01 12:03:24 -08:00
TestRazorProjectFileSystem.cs Re-enable "Move to RazorProjectEngine." 2018-02-16 16:13:54 -08:00