aspnetcore/test/Microsoft.AspNet.Mvc.ModelB...
Doug Bunting 80b004678d Get `[Remote]` and supporting classes building
- #439 (2 of 3)
- correct namespaces
- correct `Resources` class and member names; add new resources
- add `RequestServices` property to `ClientModelValidationContext`
- adjust to modern `IUrlHelper` API
- add `IClientModelValidator` support in `DataAnnotationsModelValidator`
- move previously-unused `StringSplit()` to `RemoteAttribute` and rename
- rewrite `RemoteAttributeTest`
 - improve test method names

Reduce number of `[Remote]` constructor overloads
- remove `AreaReference` enum and related `[Remote]` constructor overload
 - use `null` or empty `string` as explicit reference to the root area
- generally reduce parameter validation; match `UrlHelper`

Cleanup
- correct Engineering Guidelines violations
 - especially: add doc comments
- correct spelling error in `_additonalFieldsSplit`

nits:
- minimize `null` checks in `AdditionalFields`
- make `GetClientValidationRules` `virtual`; some subclasses use `new` today
- add tests of `DataAnnotationsModelValidator.GetClientValidationRules()`
- remove `builder.ToString()` calls since it appears
  https://roslyn.codeplex.com/workitem/246 has been resolved or Moq has
  worked around that issue.
2015-01-30 12:26:48 -08:00
..
Binders Fixed content-disposition quoted filename bug 2015-01-19 13:15:18 -08:00
Metadata Use `[Display(Order=x)]` to sort validation messages and properties 2015-01-29 09:31:05 -08:00
Properties
Utils
Validation Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00
ValueProviders
BindAttributeTest.cs
Microsoft.AspNet.Mvc.ModelBinding.Test.kproj
ModelBindingContextTest.cs
Resources.resx
SimpleTypeExcludeFilterTest.cs
project.json