aspnetcore/src/Mvc/Mvc.RazorPages
Pranav K 902e735b27
Configure the page handler / controller instance as the container when validating top-level properties (#22164)
Validation attributes such as a CompareAttribute require a container to be configured in ValidationContext. This change
configures uses the controller or page handler instance that the property is being bound on when binding top-level properties.

Fixes https://github.com/dotnet/aspnetcore/issues/4895
2020-06-03 00:48:56 +00:00
..
ref
src Configure the page handler / controller instance as the container when validating top-level properties (#22164) 2020-06-03 00:48:56 +00:00
test Configure the page handler / controller instance as the container when validating top-level properties (#22164) 2020-06-03 00:48:56 +00:00