aspnetcore/src/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
..
BinderMetadata
Binders Add a custom collection type for ModelMetadata.Properties 2015-01-26 14:36:40 -08:00
Internal
Metadata Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00
Properties
Validation Get `[Remote]` and supporting classes building 2015-01-30 12:26:48 -08:00
ValueProviders
BindAttribute.cs
BodyBindingState.cs
HiddenInputAttribute.cs
IModelNameProvider.cs
IPropertyBindingPredicateProvider.cs
Microsoft.AspNet.Mvc.ModelBinding.kproj
ModelBindingContext.cs Add a custom collection type for ModelMetadata.Properties 2015-01-26 14:36:40 -08:00
ModelError.cs
ModelErrorCollection.cs
ModelMetadataTypeAttribute.cs
ModelState.cs
ModelStateDictionary.cs Fix for #1538 and #1891 2015-01-28 16:53:28 -08:00
ModelValidationState.cs
OperationBindingContext.cs
Resources.resx
SimpleTypesExcludeFilter.cs
TooManyModelErrorsException.cs
project.json [Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml 2015-01-22 15:09:20 -08:00