Harsh Gupta
d7094fd32d
Adding Support for TryUpdateModel using include expressions and predicate.
2014-12-05 17:28:43 -08:00
Ryan Nowak
ca714c5149
CR feedback from [ModelBinderAttribute]
2014-12-05 16:10:07 -08:00
Harsh Gupta
b54c326ee6
Updating Associated Metadata Provider to follow the existing pattern.
2014-11-26 16:56:32 -08:00
jacalvar
b6fb7ac7df
Take advantage of nameof to improve our usage of MemberData across the code base.
...
Substituted all instances of [MemberData("PropertyName")] for [MemberData(nameof(PropertyName))]
This change enables us to take advantage of IDE features like Navigate to source,
find all references, etc. When using Visual Studio.
2014-09-02 13:53:03 -07:00
dougbu
98e23075dd
Test `DisplayFormatString`, `EditFormatString`, and `HasNonDefaultEditFormat`
...
- `DisplayFormatString` and `EditFormatString` now based on attributes
- `HasNonDefaultEditFormat` is new
- confirm `DataType` and `ScaffoldColumn` in `CachedDataAnnotationsMetadataAttributes`
2014-08-20 10:07:55 -07:00
dougbu
1a4bd25e0f
Add `[HiddenInput]`, `ModelMetadata.HideSurroundingHtml`, and `.Properties` tests
...
nits:
- add a few missing default `ModelMetadata` property value checks
- cleanup some redundancies in test data initializers
2014-08-15 12:33:58 -07:00
dougbu
3746e44dc3
Add more `ModelMetadata` and HTML helper tests
...
- add `CachedDataAnnotationsMetadataAttributesTest`
- add `CachedDataAnnotationsModelMetadataTest`
- confirm more default property values in `ModelMetadataTest`
- confirm use of `DisplayName` in `ModelMetadataTest`
- add `HtmlHelperDisplayNameExtensionsTest`
- add `HtmlHelperLabelExtensionsTest`
- add `HtmlHelperNameExtensionsTest`
2014-07-24 18:32:35 -07:00